OverlayLayerData constructor

OverlayLayerData({
  1. Color color = Colors.white,
  2. double opacityValue = 0.5,
  3. OverlayShape shape = OverlayShape.rectangle,
  4. double size = 100.0,
  5. OverlayType overlayType = OverlayType.shape,
  6. ImageItem? overlayImage,
  7. Offset offset = const Offset(64, 64),
  8. double rotation = 0,
  9. 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,
});