isDark property
bool
isDark
Check if the brightness is dark or not.
Implementation
bool get isDark => this == Brightness.dark;
Check if the brightness is dark or not.
bool get isDark => this == Brightness.dark;