LayerInteractionHelperWidget constructor

const LayerInteractionHelperWidget({
  1. Key? key,
  2. required Layer layerData,
  3. required Widget child,
  4. required ProImageEditorConfigs configs,
  5. dynamic onEditLayer()?,
  6. dynamic onRemoveLayer()?,
  7. dynamic onScaleRotateDown(
    1. PointerDownEvent
    )?,
  8. dynamic onScaleRotateUp(
    1. PointerUpEvent
    )?,
  9. bool selected = false,
  10. bool isInteractive = false,
  11. ProImageEditorCallbacks callbacks = const ProImageEditorCallbacks(),
})

Implementation

const LayerInteractionHelperWidget({
  super.key,
  required this.layerData,
  required this.child,
  required this.configs,
  this.onEditLayer,
  this.onRemoveLayer,
  this.onScaleRotateDown,
  this.onScaleRotateUp,
  this.selected = false,
  this.isInteractive = false,
  this.callbacks = const ProImageEditorCallbacks(),
});