isBlack property

  1. @override
bool get isBlack
inherited

Returns true if this color is pure black.

Implementation

@override
bool get isBlack =>
    ColorMath.round(lightness) <= 0 &&
    ColorMath.round(a) <= 0 &&
    ColorMath.round(b) <= 0;