LinePainter constructor
LinePainter({})
Implementation
LinePainter({
this.page = 0.0,
this.count = 0,
this.realPage = 0,
this.indicatorBackColor = Colors.white,
this.indicatorColor = Colors.grey,
this.padding = 3.0,
this.indicatorWidth = 6.0,
}) {
_backLinePaint = Paint();
_backLinePaint!.color = indicatorBackColor!;
_backLinePaint!.strokeWidth = indicatorWidth!;
_indicatorLinePaint = Paint();
_indicatorLinePaint!.color = indicatorColor!;
_indicatorLinePaint!.strokeWidth = indicatorWidth!;
this.realPage ??= 0;
this.page ??= 0.0;
this.count ??= 0;
this.indicatorBackColor ??= Colors.white;
this.indicatorColor ??= Colors.grey;
this.padding ??= 3.0;
}