isDark property

bool isDark

true for Brightness.dark, false otherwise.

Implementation

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