OverlayItemWidget constructor
const
OverlayItemWidget({
- Key? key,
- required EditableItem editableItem,
- required VoidCallback onItemTap,
- dynamic onPointerDown()?,
- dynamic onPointerUp()?,
- dynamic onPointerMove()?,
- required List<
String> fontList, - required List<
List< gradients,Color> >
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,
required this.fontList,
required this.gradients,
});