PapilioRouterDelegate<T> constructor

PapilioRouterDelegate<T>(
  1. Map<String, PageBuilder> _pageBuildersByKey,
  2. Future<void> _setNewRoutePath(
    1. PapilioRouterDelegate<T> delegate,
    2. T configuration
    ),
  3. T _getCurrentConfiguration(
    1. Page currentPage
    )
)

Constructs a new router delegate. You should use PapilioRouterDelegateBuilder

Implementation

PapilioRouterDelegate(
  this._pageBuildersByKey,
  this._setNewRoutePath,
  this._getCurrentConfiguration,
) : navigatorKey = GlobalKey<NavigatorState>();