PopupMenusItem<T> constructor
const
PopupMenusItem<T> ({
- Key? key,
- T? value,
- VoidCallback? onTap,
- bool enabled = true,
- double height = kMinInteractiveDimension,
- EdgeInsets? padding,
- TextStyle? textStyle,
- MouseCursor? mouseCursor,
- required Widget? child,
Implementation
const PopupMenusItem({
Key? key,
this.value,
this.onTap,
this.enabled = true,
this.height = kMinInteractiveDimension,
this.padding,
this.textStyle,
this.mouseCursor,
required this.child,
}) : assert(enabled != null),
assert(height != null),
super(key: key);