PathElement constructor
PathElement({})
Creates a path element.
Implementation
PathElement({
required this.segments,
required PaintStyle style,
double? rotation,
Offset? rotationAxis,
String? tag,
}) : assert(segments.first is MoveSegment),
super(
style: style,
rotation: rotation,
rotationAxis: rotationAxis,
tag: tag,
);