NavigatorFinderCallback typedef

NavigatorFinderCallback = NavigatorState Function(BuildContext context)

A callback that given a BuildContext finds a NavigatorState.

Used by RestorableRouteFuture.navigatorFinder to determine the navigator to which a new route should be added.

Implementation

typedef NavigatorFinderCallback = NavigatorState Function(BuildContext context);