TrianglePainter constructor

TrianglePainter({
  1. required int pagesLength,
  2. required double netDragPercent,
  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 rotate = false,
  11. bool translate = false,
})

Implementation

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