showMenu<T> method
Future<T?>
showMenu<T>({
- required RelativeRect position,
- required List<
PopupMenuEntry< items,T> > - T? initialValue,
- double? elevation,
- String? semanticLabel,
- ShapeBorder? shape,
- Color? color,
Show a popup menu that contains the items at position.
Implementation
Future<T?> showMenu<T>({
required material.RelativeRect position,
required List<material.PopupMenuEntry<T>> items,
T? initialValue,
double? elevation,
String? semanticLabel,
material.ShapeBorder? shape,
material.Color? color,
bool useRootNavigator: false,
}) {
return material.showMenu<T>(
context: this,
position: position,
items: items,
initialValue: initialValue,
elevation: elevation,
semanticLabel: semanticLabel,
shape: shape,
color: color,
useRootNavigator: useRootNavigator,
);
}