isDark property
bool
isDark
Whether the brightness is dark.
Implementation
bool get isDark => brightness == Brightness.dark;
Whether the brightness is dark.
bool get isDark => brightness == Brightness.dark;