Ahmed Fwela

fix

... ... @@ -20,6 +20,13 @@
"cwd": "example_nav2",
"request": "launch",
"type": "dart"
},
{
"name": "example_nav2 WEB",
"cwd": "example_nav2",
"request": "launch",
"type": "dart",
"deviceId": "Chrome"
}
]
}
\ No newline at end of file
... ...
... ... @@ -57,6 +57,8 @@ class GetDelegate extends RouterDelegate<GetPage>
@override
Future<void> setNewRoutePath(GetPage configuration) {
/// incorrect, remove routes until you reach the page in configuration.
/// if it's not found push it.
routes.clear();
pageRoutes.clear();
return pushRoute(configuration);
... ...