isDark property

bool isDark

Check if the brightness is dark or not.

Implementation

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