SquarePainter constructor

SquarePainter({
  1. required double netDragPercent,
  2. required int pagesLength,
  3. required int currentPageIndex,
  4. required SlideDirection slideDirection,
  5. Paint? activePainter,
  6. Paint? inactivePainter,
  7. bool? showAllActiveIndicators,
  8. double space = 10.0,
  9. double width = 10.0,
  10. bool translate = false,
})

Implementation

SquarePainter({
  required double netDragPercent,
  required int pagesLength,
  required int currentPageIndex,
  required final SlideDirection slideDirection,
  final Paint? activePainter,
  final Paint? inactivePainter,
  final bool? showAllActiveIndicators,
  this.space = 10.0,
  this.width = 10.0,
  this.translate = false,
}) : super(
        netDragPercent: netDragPercent,
        pagesLength: pagesLength,
        inactivePainter: inactivePainter,
        activePainter: activePainter,
        currentPageIndex: currentPageIndex,
        showAllActiveIndicators: showAllActiveIndicators,
        slideDirection: slideDirection,
      );