ShapePainter constructor
ShapePainter({})
Implementation
ShapePainter({
required this.netDragPercent,
required this.pagesLength,
required this.currentPageIndex,
required this.slideDirection,
final Paint? activePainter,
final Paint? inactivePainter,
final bool? showAllActiveIndicators,
}) : activePainter = activePainter == null ? Paint() : activePainter,
inactivePainter = inactivePainter == null ? Paint() : inactivePainter,
showAllActiveIndicators =
showAllActiveIndicators == null ? false : showAllActiveIndicators,
activePath = Path(),
inactivePath = Path();