toLightMode static method

void toLightMode()

Switches to the light theme and saves it (needs UMaterialApp). UApp.toLightMode()

Implementation

static void toLightMode() {
  UAppState.changeThemeMode(ThemeMode.light);
  ULocalStorage.setDarkMode(false);
}