changeThemeMode method

void changeThemeMode(
  1. ThemeMode themeMode
)

Function to change the theme mode of the application.

Parameters:

  • themeMode: The new theme mode to apply.

Implementation

void changeThemeMode(ThemeMode themeMode) {
  rootController.setThemeMode(themeMode);
}