OverlayLayerData constructor
OverlayLayerData({
- Color color = Colors.white,
- double opacityValue = 0.5,
- OverlayShape shape = OverlayShape.rectangle,
- double size = 100.0,
- OverlayType overlayType = OverlayType.shape,
- ImageItem? overlayImage,
- Offset offset = const Offset(64, 64),
- double rotation = 0,
- double scale = 1,
Implementation
OverlayLayerData({
this.color = Colors.white,
this.opacityValue = 0.5,
this.shape = OverlayShape.rectangle,
this.size = 100.0,
this.overlayType = OverlayType.shape,
this.overlayImage,
super.offset,
super.rotation,
super.scale,
});