In my main method I have
onGenerateRoute: (route) {
print(route);
return Router.generateRoute(route);
}
If I enter URL with https://myurl.com/#/foo/bar
I can see printing is called multiple times.
/
/foo
/foo/bar
I have an issue because I want to enter bar
path, but it gets entered foo
instead.
Any ideas how should I proceed?