RectNodeSnapshot constructor

const RectNodeSnapshot({
  1. required NodeId id,
  2. required Size size,
  3. Color? fillColor,
  4. Color? strokeColor,
  5. double strokeWidth = 1,
  6. Transform2D transform = Transform2D.identity,
  7. double opacity = 1,
  8. double hitPadding = 0,
  9. bool isVisible = true,
  10. bool isSelectable = true,
  11. bool isLocked = false,
  12. bool isDeletable = true,
  13. bool isTransformable = true,
})

Implementation

const RectNodeSnapshot({
  required super.id,
  required this.size,
  this.fillColor,
  this.strokeColor,
  this.strokeWidth = 1,
  super.transform,
  super.opacity,
  super.hitPadding,
  super.isVisible,
  super.isSelectable,
  super.isLocked,
  super.isDeletable,
  super.isTransformable,
});