colorize property

Color? colorize
inherited

Gets the color applied to this object.

Implementation

ui.Color? get colorize {
  return $colorize;
}
  1. @override
void colorize=(Color? value)
override

Sets the color of this object.

Implementation

@override
set colorize(ui.Color? value) {
  if ($colorize == value) {
    return;
  }
  super.colorize = value;
  _paint.colorFilter =
      $hasColorize ? PainterUtils.getColorize($colorize!) : null;
}