LayerInteractionWidgets constructor

const LayerInteractionWidgets({
  1. LayerInteractionTapButton? editIcon,
  2. LayerInteractionTapButton? removeIcon,
  3. LayerInteractionScaleRotateButton? rotateScaleIcon,
})

Creates a LayerInteractionWidgets with optional interaction buttons.

  • editIcon: A button that triggers the edit action.
  • removeIcon: A button that triggers the remove action.
  • rotateScaleIcon: A button for rotate/scale actions.

Implementation

const LayerInteractionWidgets({
  this.editIcon,
  this.removeIcon,
  this.rotateScaleIcon,
});