isDark property

bool get isDark

Check if the current theme mode is dark

Implementation

bool get isDark => _themeMode == ThemeMode.dark;