isBlack property

  1. @override
bool get isBlack
override

Returns true if this color is pure black.

Implementation

@override
bool get isBlack => ColorMath.round(perceivedBrightness) == 0;