color property Null safety

Color? color

If non-null, this color is blended with each image pixel using colorBlendMode.

Implementation

Color? get color => _color;
void color=(Color? value)

Implementation

set color(Color? value) {
  if (value == _color) {
    return;
  }
  _color = value;
  _updateColorFilter();
  markNeedsPaint();
}