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 027e319 commit 84da17cCopy full SHA for 84da17c
packages/go_router/lib/src/router.dart
@@ -573,8 +573,6 @@ class GoRouter implements RouterConfig<RouteMatchList> {
573
WidgetsBinding.instance.platformDispatcher.defaultRouteName,
574
);
575
if (platformDefaultUri.hasEmptyPath) {
576
- // TODO(chunhtai): Clean up this once `RouteInformation.uri` is available
577
- // in packages repo.
578
platformDefaultUri = platformDefaultUri.replace(path: '/');
579
}
580
final String platformDefault = platformDefaultUri.toString();
0 commit comments