paintInactiveIndicators method
dynamic
paintInactiveIndicators()
override
Implementation
@override
paintInactiveIndicators(Canvas canvas, Size size, Paint paint, Path path) {
Offset offset = Offset.zero;
for (int i = 0; i <= pagesLength - 1; i++) {
path.moveTo(offset.dx, offset.dy);
path.lineTo(offset.dx, offset.dy + width);
path.lineTo(offset.dx + width, (offset.dy + width) / 2);
path.close();
offset = Offset(offset.dx + width + space, offset.dy);
}
// canvas.rotate(3.14);
canvas.drawPath(path, paint);
}