ProviderAwarePopupMenuExtension extension

Extension on BuildContext to show provider-aware popup menus.

on

Methods

showProviderAwareMenu<T>({required RelativeRect position, required List<PopupMenuEntry<T>> items, T? initialValue, double? elevation, Color? shadowColor, Color? surfaceTintColor, String? semanticLabel, ShapeBorder? shape, Color? color, BoxConstraints? constraints, Clip clipBehavior = Clip.none, RouteSettings? routeSettings, AnimationStyle? popUpAnimationStyle, bool useRootNavigator = false}) Future<T?>

Available on BuildContext, provided by the ProviderAwarePopupMenuExtension extension

Shows a popup menu that maintains access to Riverpod providers.