modal_stack_router library

Classes

InheritedValue
StackRoute
A route of a StackRouter.
StackRouter
A router for displaying and routing to/from widgets using an IndexedStack.
StackRouterActions
The controller for invoking a set of actions on the stack router including pushing/popping routes and showing/hiding snack bars.
StackRouterAppBar
An app bar displayed at the top of the StackRouterScaffold.
StackRouterController
StackRouterInheritedData
StackRouterScaffold
A scaffold for a StackRoute that provides the route with the ability to show app bars, snack bars and perform StackRouterActions accessible by the injected inherited widget using StackRouterActions.of(context).
StackRouterSnackBar
A snack bar that displays at the bottom of a StackRouterScaffold.
StackRouterSnackBarAction
An action to show in a StackRouterSnackBar.
StackRouterState

Constants

stackRouterAppBarHeight → const double

Functions

showModalStackRouter<T>({required BuildContext context, required Widget child, Alignment alignment = Alignment.topCenter, Color barrierColor = Colors.black54, EdgeInsets margin = const EdgeInsets.only(top: 200), BorderRadiusGeometry? borderRadius, Widget builder(BuildContext context)?}) Future<T?>