CustomPopupMenu constructor

CustomPopupMenu({
  1. required Widget child,
  2. required Widget menuBuilder(),
  3. required PressType pressType,
  4. CustomPopupMenuController? controller,
  5. Color arrowColor = const Color(0xFF4C4C4C),
  6. bool showArrow = true,
  7. Color barrierColor = Colors.black12,
  8. double arrowSize = 10.0,
  9. double horizontalMargin = 10.0,
  10. double verticalMargin = 10.0,
  11. PreferredPosition? position,
  12. void menuOnChange(
    1. bool
    )?,
  13. bool enablePassEvent = true,
})

Implementation

CustomPopupMenu({
  required this.child,
  required this.menuBuilder,
  required this.pressType,
  this.controller,
  this.arrowColor = const Color(0xFF4C4C4C),
  this.showArrow = true,
  this.barrierColor = Colors.black12,
  this.arrowSize = 10.0,
  this.horizontalMargin = 10.0,
  this.verticalMargin = 10.0,
  this.position,
  this.menuOnChange,
  this.enablePassEvent = true,
});