ImageNode constructor
ImageNode({ - required NodeId id,
- required String imageId,
- required Size size,
- Size? naturalSize,
- double hitPadding = 0,
- Transform2D? transform,
- double opacity = 1,
- bool isVisible = true,
- bool isSelectable = true,
- bool isLocked = false,
- bool isDeletable = true,
- bool isTransformable = true,
})
Implementation
ImageNode({
required super.id,
required this.imageId,
required this.size,
this.naturalSize,
super.hitPadding,
super.transform,
super.opacity,
super.isVisible,
super.isSelectable,
super.isLocked,
super.isDeletable,
super.isTransformable,
}) : super(type: NodeType.image);