invertColors property Null safety
Whether the colors of the image are inverted when drawn.
Inverting the colors of an image applies a new color filter that will be composed with any user provided color filters. This is primarily used for implementing smart invert on iOS.
Implementation
bool get invertColors {
return _data.getInt32(_kInvertColorOffset, _kFakeHostEndian) == 1;
}
Implementation
set invertColors(bool value) {
_data.setInt32(_kInvertColorOffset, value ? 1 : 0, _kFakeHostEndian);
}