XContextShowMenu extension

showMenu(context: context, ...) as context.showMenu(...)

on

Methods

showMenu<T>({required RelativeRect position, required List<PopupMenuEntry<T>> items, T? initialValue, double? elevation, String? semanticLabel, ShapeBorder? shape, Color? color, bool useRootNavigator = false}) Future<T?>
Show a popup menu that contains the items at position.