config property
Lazily creates the platform URL/history integration.
Implementation
RouterConfig<RouteStack> get config {
_checkAlive();
WidgetsFlutterBinding.ensureInitialized();
return _config ??= RouterConfig<RouteStack>(
routerDelegate: this,
routeInformationParser:
RouteDefinerParser(argumentsCodec: argumentsCodec),
routeInformationProvider: _provider = PlatformRouteInformationProvider(
initialRouteInformation: RouteInformation(
uri: Uri.parse(PlatformDispatcher.instance.defaultRouteName == '/'
? initialRoute
: PlatformDispatcher.instance.defaultRouteName),
),
),
backButtonDispatcher: backButtonDispatcher ?? RootBackButtonDispatcher(),
);
}