GrockXMenu constructor

const GrockXMenu({
  1. Key? key,
  2. required Widget child,
  3. List<XMenuItem>? items,
  4. VoidCallback? onChildTap,
  5. VoidCallback? onChildLongPress,
  6. VoidCallback? onChildDoubleTap,
  7. XMenuInkStyle inkStyle = const XMenuInkStyle(),
  8. XMenuPositionStyle positionStyle = const XMenuPositionStyle(),
  9. XMenuAnimationStyle animationStyle = const XMenuAnimationStyle(),
  10. XMenuBarrierStyle barrierStyle = const XMenuBarrierStyle(),
  11. XMenuPopupStyle popupStyle = const XMenuPopupStyle(),
  12. XMenuAnimationBuilder? animationBuilder,
  13. GrockXMenuController? controller,
})

Implementation

const GrockXMenu({
  super.key,
  required this.child,
  this.items,
  this.onChildTap,
  this.onChildLongPress,
  this.onChildDoubleTap,
  this.inkStyle = const XMenuInkStyle(),
  this.positionStyle = const XMenuPositionStyle(),
  this.animationStyle = const XMenuAnimationStyle(),
  this.barrierStyle = const XMenuBarrierStyle(),
  this.popupStyle = const XMenuPopupStyle(),
  this.animationBuilder,
  this.controller,
});