Hayat Bangash

Results 4 comments of Hayat Bangash

You have to use context with function **isDarkMode** because it is not working with **Get** keyword. Like: `context.isDarkMode` as i have found the solution so i am closing this issue.

> i'm trying to use Get.isDarkMode, context.isDarkMode, Get.context!.isDarkMode and SchedulerBinding.instance.platformDispatcher.platformBrightness but nothing works, some solution? Are u using? **Get.changeThemeMode(value ? ThemeMode.dark : ThemeMode.light);**

One thing to remember: Create Theme classes like this : ` static final dark = ThemeData.dark().copyWith(` `static final light = ThemeData.light().copyWith(` after doing like this u will get the right...

yes, this is right... it should be updated immediately.