NavigatorMiddlewareCallback<S, T> typedef

NavigatorMiddlewareCallback<S, T> = void Function(GlobalKey<NavigatorState> navigatorKey, Store<S> store, T action, NextDispatcher next)

A callback for NavigatorMiddlewareBuilder.

Implementation

typedef NavigatorMiddlewareCallback<S, T> = void Function(
  GlobalKey<NavigatorState> navigatorKey,
  Store<S> store,
  T action,
  NextDispatcher next,
);