ZoDottedBorderPainter constructor

ZoDottedBorderPainter({
  1. required Animation<double> progress,
  2. required double borderRadius,
  3. double dashLength = 10,
  4. double gapLength = 5,
  5. double strokeWidth = 3,
  6. double animationSpeed = 0.4,
  7. Color color = Colors.black,
  8. Gradient? gradient,
  9. required BorderStyleType borderStyle,
  10. 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);