build method
Implementation
@override
Widget build(int currentPage, double pageDelta, int itemCount) {
return Container(
alignment: alignment,
padding: padding,
child: SizedBox(
width: itemCount * itemSpacing,
height: indicatorRadius * 2,
child: CustomPaint(
painter: CircularWaveIndicatorPainter(
currentIndicatorColor: currentIndicatorColor,
indicatorBackgroundColor: indicatorBackgroundColor,
currentPage: currentPage,
pageDelta: pageDelta,
itemCount: itemCount,
radius: indicatorRadius,
indicatorBorderColor: indicatorBorderColor,
borderWidth: indicatorBorderWidth,
),
),
),
);
}