autoChangeTheme method
Implementation
ThemeMode autoChangeTheme(
{required Brightness Function() onChangeBrightness}) {
ThemeMode theme_mode = autoChangeThemeMode();
autoChangeSystemUi(
theme_mode: theme_mode, onChangeBrightness: onChangeBrightness);
notifyListeners();
return theme_mode;
}