isDarkMode property

bool get isDarkMode

Implementation

bool get isDarkMode => theme.brightness == Brightness.dark;