isLight property
Returns true if the color's brightness is Brightness.light, else false.
Implementation
bool get isLight => ThemeData.estimateBrightnessForColor(this) == Brightness.light;
Returns true if the color's brightness is Brightness.light, else false.
bool get isLight => ThemeData.estimateBrightnessForColor(this) == Brightness.light;