MaterialPopupMenuOptionData constructor

MaterialPopupMenuOptionData({
  1. Key? key,
  2. Widget? child,
  3. bool? enabled,
  4. double? height,
  5. MouseCursor? mouseCursor,
  6. VoidCallback? onTap,
  7. EdgeInsets? padding,
  8. TextStyle? textStyle,
  9. bool withDivider = false,
  10. double dividerHeight = _kMenuDividerHeight,
  11. MaterialStateProperty<TextStyle?>? labelTextStyle,
})

Implementation

MaterialPopupMenuOptionData({
  super.key,
  super.child,
  this.enabled,
  this.height,
  this.mouseCursor,
  this.onTap,
  this.padding,
  this.textStyle,
  this.withDivider = false,
  this.dividerHeight = _kMenuDividerHeight,
  this.labelTextStyle,
});