setColor method
Shortcut for changing the color of the paint.
Implementation
void setColor(Color color, {T? paintId}) {
getPaint(paintId).color = color;
}
Shortcut for changing the color of the paint.
void setColor(Color color, {T? paintId}) {
getPaint(paintId).color = color;
}