isLight property

bool get isLight

Returns true if the color is light.

Implementation

bool get isLight => !isDark;