isDarkMode property Null safety

bool isDarkMode

Implementation

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