We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab95d12 commit da35f7fCopy full SHA for da35f7f
packages/go_router/lib/src/router.dart
@@ -574,8 +574,6 @@ class GoRouter implements RouterConfig<RouteMatchList> {
574
WidgetsBinding.instance.platformDispatcher.defaultRouteName,
575
);
576
if (platformDefaultUri.hasEmptyPath) {
577
- // TODO(chunhtai): Clean up this once `RouteInformation.uri` is available
578
- // in packages repo.
579
platformDefaultUri = platformDefaultUri.replace(path: '/');
580
}
581
final String platformDefault = platformDefaultUri.toString();
0 commit comments