paintInactiveIndicators method

  1. @override
dynamic paintInactiveIndicators(
  1. Canvas canvas,
  2. Size size,
  3. Paint paint,
  4. Path path,
)
override

Implementation

@override
paintInactiveIndicators(Canvas canvas, Size size, Paint paint, Path path) {
  Offset offset = Offset.zero;
  for (int i = 0; i <= pagesLength - 1; i++) {
    canvas.drawCircle(offset, radius, paint);
    offset = Offset(offset.dx + radius + space, 0.0);
  }
}