isDark property
bool
isDark
Return a boolean indicating whether the color's perceived brightness is dark.
Implementation
bool get isDark => brightness < 128.0;
Return a boolean indicating whether the color's perceived brightness is dark.
bool get isDark => brightness < 128.0;