PopupMenuEntry.item constructor Null safety
- {Key? key,
- String? value,
- Callback? onTap,
- @Default(true) bool enabled,
- @Default(48.0) double height,
- EdgeInsets? padding,
- TextStyle? textStyle,
- MouseCursor? mouseCursor,
- required Widget? child}
Implementation
const factory PopupMenuEntry.item({
Key? key,
String? value,
Callback? onTap,
@Default(true) bool enabled,
@Default(48.0) double height,
EdgeInsets? padding,
TextStyle? textStyle,
MouseCursor? mouseCursor,
required Widget? child,
}) = PopupMenuItem;