invertColors property
Whether to invert the colors of the image.
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.
Implementation
bool get invertColors => _invertColors;
Implementation
set invertColors(bool value) {
if (value == _invertColors) {
return;
}
_invertColors = value;
markNeedsPaint();
}