isDark method
Implementation
bool isDark() =>
themeMode.value == ThemeMode.dark ||
(themeMode.value == ThemeMode.system && isPlatformDark());
bool isDark() =>
themeMode.value == ThemeMode.dark ||
(themeMode.value == ThemeMode.system && isPlatformDark());