PathNodeSnapshot constructor

const PathNodeSnapshot({
  1. required NodeId id,
  2. required String svgPathData,
  3. Color? fillColor,
  4. Color? strokeColor,
  5. double strokeWidth = 1,
  6. V2PathFillRule fillRule = V2PathFillRule.nonZero,
  7. Transform2D transform = Transform2D.identity,
  8. double opacity = 1,
  9. double hitPadding = 0,
  10. bool isVisible = true,
  11. bool isSelectable = true,
  12. bool isLocked = false,
  13. bool isDeletable = true,
  14. 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,
});