paintStillDots method

void paintStillDots(
  1. Canvas canvas,
  2. Size size
)

Paints count number of dots with no animation

Meant to be used by effects that only animate the active dot

Implementation

void paintStillDots(Canvas canvas, Size size) {
  for (var i = 0; i < count; i++) {
    final rect = buildStillDot(i, size);
    canvas.drawRRect(rect, dotPaint);
  }
}