PapilioRouterDelegate<T> constructor
PapilioRouterDelegate<T> (
- Map<
String, PageBuilder> _pageBuildersByKey, - Future<
void> _setNewRoutePath(- PapilioRouterDelegate<
T> delegate, - T configuration
- PapilioRouterDelegate<
- T _getCurrentConfiguration(
- Page currentPage
Constructs a new router delegate. You should use PapilioRouterDelegateBuilder
Implementation
PapilioRouterDelegate(
this._pageBuildersByKey,
this._setNewRoutePath,
this._getCurrentConfiguration,
) : navigatorKey = GlobalKey<NavigatorState>();