initState method
void
initState({
- required BuildContext context,
- required ThemeMode themeMode,
- required void onSet(),
Implementation
void initState({
required BuildContext context,
required ThemeMode themeMode,
required void Function() onSet,
}) {
if (is_has_set_theme_status_bar_first == false) {
is_has_set_theme_status_bar_first = true;
autoChangeSystemUi(
theme_mode: themeMode,
onChangeBrightness: () {
return context.mediaQueryData.platformBrightness;
},
);
onSet();
}
}