isDark property

bool get isDark

Implementation

bool get isDark => brightness == Brightness.dark;