init method
dynamic
init()
Implementation
init() async {
SharedPreferences sharedPreferences = await SharedPreferences.getInstance();
int acxAppThemeMode = sharedPreferences.getInt("Acx_app_theme_mode") ??
AcxAppThemeType.light.index;
changeAppThemeMode(AcxAppThemeType.values[acxAppThemeMode]);
// int AcxCustomThemeMode = sharedPreferences.getInt("Acx_custom_theme_mode")??AcxAppThemeType.light.index;
// changeCustomThemeMode(AcxCustomThemeType.values[AcxCustomThemeMode]);
notifyListeners();
}