fill2 method

void fill2(
  1. Color color,
  2. int alpha
)

Implementation

void fill2(Color color, int alpha) {
  fillPaint.color = color.withAlpha(alpha);
  useFill = true;
}