invertColors property

bool invertColors
final

Whether the colors of the image are inverted when drawn.

Inverting the colors of an image applies a new color filter to the paint. If there is another specified color filter, the invert will be applied after it. This is primarily used for implementing smart invert on iOS.

See also:

Implementation

final bool invertColors;