Relative Content

Tag Archive for flutterflutter-go-router

Providing user object throughout Flutter app using go_router package?

I have a flutter app wherein user can come to home screen via 3 ways: signup, signin or user is already signedin (config bloc). When any of the flow returns a success state (have used bloc for that) i store the value of user in a User object. And then I route to home page which is 0th tab from amongst 4 tabs. I am using go_router package for navigation like so:

Providing user object throughout Flutter app using go_router package?

I have a flutter app wherein user can come to home screen via 3 ways: signup, signin or user is already signedin (config bloc). When any of the flow returns a success state (have used bloc for that) i store the value of user in a User object. And then I route to home page which is 0th tab from amongst 4 tabs. I am using go_router package for navigation like so:

Providing user object throughout Flutter app using go_router package?

I have a flutter app wherein user can come to home screen via 3 ways: signup, signin or user is already signedin (config bloc). When any of the flow returns a success state (have used bloc for that) i store the value of user in a User object. And then I route to home page which is 0th tab from amongst 4 tabs. I am using go_router package for navigation like so:

Providing user object throughout Flutter app using go_router package?

I have a flutter app wherein user can come to home screen via 3 ways: signup, signin or user is already signedin (config bloc). When any of the flow returns a success state (have used bloc for that) i store the value of user in a User object. And then I route to home page which is 0th tab from amongst 4 tabs. I am using go_router package for navigation like so:

Go Router not redirecting for the home page

The redirect to the “Jobs” works but the redirect to the home page isn’t happening. Please could someone point me in the right direction? (I think the route notation “/” is correct so I’m puzzled).

Flutter Web navigation

I am developing an app using Flutter for the web. I was able to change the URL according to the tapped bottom navigation item. For example, if I have Home, Profile, and Settings in the navigation bar, the URL switches to /home, /profile, and /settings accordingly. However, the problem I am facing right now is the reverse: if I directly enter the URL (e.g., http://localhost:8080/profile), it navigates to the profile screen, but the highlighted tab remains the first index, which is Home.

App stuck on Splash Screen when sent on FB Messenger

I’ve deployed a Beta App developed using Flutter Web. The app uses GoRouter for Navigation, Native splash etc. Working fine when accessed via Chrome etc. When the link is shared via fb messenger (mobile) (fb webview), it seems to be stuck on Splash Screen forever and only works when the link is opened via Chrome or other browser using the options menu.