auto_route_library icon indicating copy to clipboard operation
auto_route_library copied to clipboard

dynamic initial page

Open murataksuu opened this issue 1 year ago • 1 comments

In my main function I check if the user is logged in. if the user is logged in, the home page should open otherwise it should go to login. how can i set the launch page dynamically?

murataksuu avatar Aug 03 '22 08:08 murataksuu

@murataksuu Best way to do is is by using a rout guard https://github.com/Milad-Akarie/auto_route_library#route-guards

Milad-Akarie avatar Aug 03 '22 10:08 Milad-Akarie

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions

github-actions[bot] avatar Dec 02 '22 08:12 github-actions[bot]