isDark property

bool isDark

true for Brightness.dark, false otherwise.

Implementation

bool get isDark => brightness.isDark;