MaterialPopupMenuOptionData constructor
MaterialPopupMenuOptionData({
- Key? key,
- Widget? child,
- bool? enabled,
- double? height,
- MouseCursor? mouseCursor,
- VoidCallback? onTap,
- EdgeInsets? padding,
- TextStyle? textStyle,
- bool withDivider = false,
- double dividerHeight = _kMenuDividerHeight,
- 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,
});