isDark property

bool get isDark

Whether brightness is dark.

Implementation

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