GrockXMenu constructor
const
GrockXMenu({
- Key? key,
- required Widget child,
- List<
XMenuItem> ? items, - VoidCallback? onChildTap,
- VoidCallback? onChildLongPress,
- VoidCallback? onChildDoubleTap,
- XMenuInkStyle inkStyle = const XMenuInkStyle(),
- XMenuPositionStyle positionStyle = const XMenuPositionStyle(),
- XMenuAnimationStyle animationStyle = const XMenuAnimationStyle(),
- XMenuBarrierStyle barrierStyle = const XMenuBarrierStyle(),
- XMenuPopupStyle popupStyle = const XMenuPopupStyle(),
- XMenuAnimationBuilder? animationBuilder,
- 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,
});