StackRouterActions constructor

const StackRouterActions({
  1. required dynamic child,
  2. required dynamic pushRoute(
    1. String route
    ),
  3. required dynamic popRoute([
    1. String route
    ]),
  4. required void switchRoute(
    1. String route
    ),
  5. required dynamic showSnackBar({
    1. String route,
    2. required StackRouterSnackBar snackBar,
    }),
  6. required dynamic clearSnackBars({
    1. String route,
    }),
  7. required dynamic hideSnackBar({
    1. String route,
    }),
  8. dynamic key,
})

Implementation

const StackRouterActions({
  required child,
  required this.pushRoute,
  required this.popRoute,
  required this.switchRoute,
  required this.showSnackBar,
  required this.clearSnackBars,
  required this.hideSnackBar,
  key,
}) : super(key: key, child: child);