changeThemeMode method
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);
}
Function to change the theme mode of the application.
Parameters:
themeMode
: The new theme mode to apply.void changeThemeMode(ThemeMode themeMode) {
rootController.setThemeMode(themeMode);
}