Challenge: Calling Themes from Code

In this lesson, you'll complete a challenge that tests your understanding of switching between two different themes.

We'll cover the following

Challenge: Calling themes

In this challenge, you’ll learn how to update the application’s theme by calling a method from code.

For this challenge, apply the dark theme to the app.

Hint: You’re provided methods for light and dark themes in the MyAppThemes class: appThemeLight() & appThemeDark(). Choose the appropriate method.

Get hands-on with 1200+ tech skills courses.