isTransparent property

bool get isTransparent

Returns true if this color is fully transparent (alpha == 0 and not isAnsiIndexed).

Implementation

bool get isTransparent => a == 0 && !isAnsiIndexed;