isDarkMode property
bool
get
isDarkMode
Check if current theme is dark mode
Implementation
bool get isDarkMode => fsTheme.brightness == Brightness.dark;
Check if current theme is dark mode
bool get isDarkMode => fsTheme.brightness == Brightness.dark;