WPopupMenu constructor

WPopupMenu({
  1. Key? key,
  2. @required required ValueChanged<int> onValueChanged,
  3. @required required List<String> actions,
  4. @required required Widget child,
  5. PressType pressType = PressType.longPress,
  6. int pageMaxChildCount = 5,
  7. Color backgroundColor = Colors.black,
  8. double menuWidth = 250,
  9. double menuHeight = 42,
})

Implementation

WPopupMenu({
  Key? key,
  @required required this.onValueChanged,
  @required required this.actions,
  @required required this.child,
  this.pressType = PressType.longPress,
  this.pageMaxChildCount = 5,
  this.backgroundColor = Colors.black,
  this.menuWidth = 250,
  this.menuHeight = 42,
});