DashedType constructor

DashedType({
  1. double strokeWidth = 2,
  2. List<double> dashedLine = const <double>[3, 1],
  3. Color color = Colors.black,
  4. GFBorderType type = GFBorderType.rect,
  5. Radius radius = const Radius.circular(0),
  6. PathBuilder? customPath,
})

Implementation

DashedType({
  this.strokeWidth = 2,
  this.dashedLine = const <double>[3, 1],
  this.color = Colors.black,
  this.type = GFBorderType.rect,
  this.radius = const Radius.circular(0),
  this.customPath,
}) : assert(dashedLine.isNotEmpty, 'dash line cannot be empty');