DashedType constructor
DashedType({
- double strokeWidth = 2,
- List<
double> dashedLine = const <double>[3, 1], - Color color = Colors.black,
- GFBorderType type = GFBorderType.rect,
- Radius radius = const Radius.circular(0),
- 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');