changeToDarkTheme method
Switches the app to ThemeMode.dark and updates system UI colours.
Implementation
Future<void> changeToDarkTheme() async {
emit(const ThemeState(themeMode: ThemeMode.dark));
_changeThemeOfStatusBarAndNavigationBar();
}
Switches the app to ThemeMode.dark and updates system UI colours.
Future<void> changeToDarkTheme() async {
emit(const ThemeState(themeMode: ThemeMode.dark));
_changeThemeOfStatusBarAndNavigationBar();
}