autoChangeSystemUi method
void
autoChangeSystemUi({
- required ThemeMode theme_mode,
- required Brightness onChangeBrightness(),
Implementation
void autoChangeSystemUi({
required ThemeMode theme_mode,
required Brightness Function() onChangeBrightness,
}) {
setSystemUIOverlayStyle(
theme_mode: theme_mode,
onChangeBrightness: onChangeBrightness,
);
notifyListeners();
}