isMonochromatic property

  1. @override
bool get isMonochromatic
inherited

Returns true if this color is monochromatic.

Implementation

@override
bool get isMonochromatic => red == green && red == blue;