Color color

If non-null, apply this color filter to the image before painting.

Source

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

Source

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