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: SequentialFillIndicatorPainter(
currentIndicatorColor: currentIndicatorColor,
indicatorBackgroundColor: indicatorBackgroundColor,
currentPage: currentPage,
pageDelta: pageDelta,
itemCount: itemCount,
radius: indicatorRadius,
enableAnimation: enableAnimation,
indicatorBorderColor: indicatorBorderColor,
borderWidth: indicatorBorderWidth,
),
),
),
);
}