isMonochromatic property

  1. @override
bool isMonochromatic
override

Returns true if this color is monochromatic.

Implementation

@override
bool get isMonochromatic =>
    ColorMath.round(cyan) == 0 &&
    ColorMath.round(magenta) == 0 &&
    ColorMath.round(yellow) == 0;