showMenuPopup<T> function
Future<T?>
showMenuPopup<T>({
- required RelativeRect position,
- required List<
PopupMenuEntry< items,T> > - T? initialValue,
- double? elevation,
- String? semanticLabel,
- ShapeBorder? shape,
- Color? color,
Implementation
Future<T?> showMenuPopup<T>({
required RelativeRect position,
required List<PopupMenuEntry<T>> items,
T? initialValue,
double? elevation,
String? semanticLabel,
ShapeBorder? shape,
Color? color,
bool useRootNavigator = false,
}) =>
showMenu(
context: GlobalOptions().globalNavigatorKey.currentContext!,
position: position,
useRootNavigator: useRootNavigator,
initialValue: initialValue,
elevation: elevation,
semanticLabel: semanticLabel,
shape: shape,
color: color,
items: items);