ComPopupMenu constructor
const
ComPopupMenu({
- Key? key,
- required Widget child,
- PressType pressType = PressType.singleClick,
- ComPopupMenuController? controller,
- Color? arrowColor,
- bool showArrow = true,
- Color barrierColor = Colors.black12,
- double arrowSize = 14.0,
- double horizontalMargin = 16.0,
- double verticalMargin = 4.0,
- PreferredPosition? position,
- bool enablePassEvent = true,
Implementation
const ComPopupMenu({
super.key,
required this.child,
required this.menuBuilder,
this.pressType = PressType.singleClick,
this.controller,
this.arrowColor,
this.showArrow = true,
this.barrierColor = Colors.black12,
this.arrowSize = 14.0,
this.horizontalMargin = 16.0,
this.verticalMargin = 4.0,
this.position,
this.menuOnChange,
this.enablePassEvent = true,
});