isDark property

bool isDark

Whether the brightness is dark.

Implementation

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