PathNodeSnapshot constructor
const
PathNodeSnapshot({
- required NodeId id,
- required String svgPathData,
- Color? fillColor,
- Color? strokeColor,
- double strokeWidth = 1,
- V2PathFillRule fillRule = V2PathFillRule.nonZero,
- Transform2D transform = Transform2D.identity,
- double opacity = 1,
- double hitPadding = 0,
- bool isVisible = true,
- bool isSelectable = true,
- bool isLocked = false,
- bool isDeletable = true,
- bool isTransformable = true,
Implementation
const PathNodeSnapshot({
required super.id,
required this.svgPathData,
this.fillColor,
this.strokeColor,
this.strokeWidth = 1,
this.fillRule = V2PathFillRule.nonZero,
super.transform,
super.opacity,
super.hitPadding,
super.isVisible,
super.isSelectable,
super.isLocked,
super.isDeletable,
super.isTransformable,
});