isBlack property

  1. @override
bool get isBlack
inherited

Returns true if this color is pure black.

Implementation

@override
bool get isBlack => red == 0 && green == 0 && blue == 0;