currentConfiguration property
App state to navigation state
Implementation
@override
RouteInformation? get currentConfiguration {
if (url == null) return null;
// We report manually and don't use RouteInformation because flutter
// does not want to report twice the same RouteInformation
if (Platform.isWeb) {
// Don't report to [RouteInformationParser], is this bad ?
return null;
}
return RouteInformation(
location: url!,
state: historyState,
);
}