buildPainter method
Builds a new painter every time the page offset changes
Implementation
@override
IndicatorPainter buildPainter(int count, double offset) {
return ScalePainter(count: count, offset: offset, effect: this);
}
Builds a new painter every time the page offset changes
@override
IndicatorPainter buildPainter(int count, double offset) {
return ScalePainter(count: count, offset: offset, effect: this);
}