OverlayItemWidget constructor

const OverlayItemWidget({
  1. Key? key,
  2. required EditableItem editableItem,
  3. required VoidCallback onItemTap,
  4. dynamic onPointerDown(
    1. PointerDownEvent
    )?,
  5. dynamic onPointerUp(
    1. PointerUpEvent
    )?,
  6. dynamic onPointerMove(
    1. PointerMoveEvent
    )?,
})

Creates an instance of the widget.

The editableItem and onItemTap parameters are required and must not be null. The onPointerDown, onPointerUp, and onPointerMove parameters are optional.

Implementation

const OverlayItemWidget({
  super.key,
  required this.editableItem,
  required this.onItemTap,
  this.onPointerDown,
  this.onPointerUp,
  this.onPointerMove,
});