ZoDottedBorderPainter constructor
ZoDottedBorderPainter({
- required Animation<
double> progress, - required double borderRadius,
- double dashLength = 10,
- double gapLength = 5,
- double strokeWidth = 3,
- double animationSpeed = 0.4,
- Color color = Colors.black,
- Gradient? gradient,
- required BorderStyleType borderStyle,
- ZoBorderDirection direction = ZoBorderDirection.clockwise,
Creates a ZoDottedBorderPainter instance.
Implementation
ZoDottedBorderPainter({
required this.progress,
required this.borderRadius,
this.dashLength = 10,
this.gapLength = 5,
this.strokeWidth = 3,
this.animationSpeed = 0.4,
this.color = Colors.black,
this.gradient,
required this.borderStyle,
this.direction = ZoBorderDirection.clockwise,
}) : super(repaint: progress);