showSnackBar property

void Function({String? route, required StackRouterSnackBar snackBar}) showSnackBar
getter/setter pair

Displays a StackRouterSnackBar bottom of the StackRouterScaffold for the given route. Defaults to the current route.

Implementation

late void Function({
  /// The [StackRouterSnackBar] to display.
  required StackRouterSnackBar snackBar,

  /// The route to display the snack bar on.
  String? route,
}) showSnackBar;