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