init method
dynamic
init()
it's for initialize App Theme
Implementation
init() async {
SharedPreferences sharedPreferences = await SharedPreferences.getInstance();
int fxAppThemeMode = sharedPreferences.getInt("fx_app_theme_mode") ??
FuAppThemeType.light.index;
changeAppThemeMode(FuAppThemeType.values[fxAppThemeMode]);
notifyListeners();
}