setColor method

void setColor(
  1. Color color
)

Sets the color of this paint from a ui.Color.

Implementation

void setColor(ui.Color color) {
  _paint.color = color;
}