StackRouterInheritedData constructor
const
StackRouterInheritedData({
- required List<
String> routeHistory, - required void popRoute([
- String route
- required void pushRoute(
- String route
- required void switchRoute(
- String route
- required void showSnackBar({
- String? route,
- required StackRouterSnackBar snackBar,
- required void clearSnackBars({
- String? route,
- required void hideSnackBar({
- String? route,
- required dynamic addMessenger({
- required StackRouterScaffoldMessenger messenger,
- required String route,
- required dynamic child,
- required bool canPop,
- String? route,
- void onPop()?,
- dynamic key,
Implementation
const StackRouterInheritedData({
required this.routeHistory,
required this.popRoute,
required this.pushRoute,
required this.switchRoute,
required this.showSnackBar,
required this.clearSnackBars,
required this.hideSnackBar,
required this.addMessenger,
required child,
required this.canPop,
this.route,
this.onPop,
key,
}) : super(key: key, child: child);