ProviderAwareModal extension

Extension on BuildContext to show modals that maintain provider access.

on

Methods

showProviderAwareBottomSheet<T>({required Widget builder(BuildContext), bool isScrollControlled = true, bool showDragHandle = true, bool isDismissible = true, bool enableDrag = true, Color? backgroundColor, double? elevation, ShapeBorder? shape, Clip? clipBehavior, BoxConstraints? constraints, Color? barrierColor, bool useRootNavigator = false, RouteSettings? routeSettings}) Future<T?>

Available on BuildContext, provided by the ProviderAwareModal extension

Shows a modal bottom sheet that maintains access to Riverpod providers.
showProviderAwareDialog<T>({required Widget builder(BuildContext), bool barrierDismissible = true, Color? barrierColor, String? barrierLabel, bool useSafeArea = true, bool useRootNavigator = true, RouteSettings? routeSettings, Offset? anchorPoint, TraversalEdgeBehavior? traversalEdgeBehavior}) Future<T?>

Available on BuildContext, provided by the ProviderAwareModal extension

Shows a dialog that maintains access to Riverpod providers.