isWhite property

  1. @override
bool isWhite
override

Returns true if this color is pure white.

Implementation

@override
bool get isWhite =>
    ColorMath.round(x) >= 100 &&
    ColorMath.round(y) >= 100 &&
    ColorMath.round(z) >= 100;