I can't remember, but doesn't Go and Push have different screen stack implications? Like Go erases previous screens from memory, so going back means reloading and rebuilding the previous screen? Or that push leaves the precious screen on the stack, so going back means it's a very light operation, but you could end up with lots of wasted memory if used all the time? Honestly, I've seen so many screen sticking architectures now I can't remember if that was the case here or not. If it is though, that would be an important factor to have in mind as both options can have serious negative impacts under certain circumstances.
Thank you for this nice explained video, i've a question, can we use go router with GetX and remove GetMaterialApp? is it good for GetXControllers dispose ?
hey hi..can you post flutter BloC post api ...u already having a video..but it was with firebase...can you post a video using only api...thanks in afdvance
Yes, I understand. But you can change based on this ua-cam.com/video/PEQnFCIspAk/v-deo.html. It's just wrap the api call using http package. Not much difference
Basically I wanted to when I click a button to navigate to other page but that didn't happen although the code is correct, I knew the problem was how I implement redirect method in the package, when I disable the redirect it navigates normally
I can't remember, but doesn't Go and Push have different screen stack implications? Like Go erases previous screens from memory, so going back means reloading and rebuilding the previous screen? Or that push leaves the precious screen on the stack, so going back means it's a very light operation, but you could end up with lots of wasted memory if used all the time?
Honestly, I've seen so many screen sticking architectures now I can't remember if that was the case here or not. If it is though, that would be an important factor to have in mind as both options can have serious negative impacts under certain circumstances.
that's exactly what he says. push adds it to the stack and go replaces the stack with the route
This is an excellent video that clearly explains the difference between push and go for go_router navigation.
Thank you for this nice explained video, i've a question, can we use go router with GetX and remove GetMaterialApp? is it good for GetXControllers dispose ?
if you use getx I don't suggest to use go_router. Getx is cool too. Removing GetMateialApp may cause unpredictable problem
Can you show how to pass objects between pages by using go_router?
I will create one in a few days.
hi thank you so much, can you please tell how we can create a bottomNavigationBar with go_router package??
will try
@@dbestech i will wait for it
Very helpful thanks
.go() is not working for me, do you know why
hey hi..can you post flutter BloC post api ...u already having a video..but it was with firebase...can you post a video using only api...thanks in afdvance
Yes, I understand. But you can change based on this ua-cam.com/video/PEQnFCIspAk/v-deo.html. It's just wrap the api call using http package. Not much difference
@@dbestech thank u so much..
Thank you 😃
You're welcome 😊
Sir how to remove all screens from stack (push named and remove until) in go router
❤ from PAKISTAN
I have an issue with this package, when I try to navigate to another page nothing happens although it prints the location in the debug panel!!!!!!!!
what do you want it to do? please detail
Basically I wanted to when I click a button to navigate to other page but that didn't happen although the code is correct, I knew the problem was how I implement redirect method in the package, when I disable the redirect it navigates normally
Sir Please increase your audio quality
I will take care of it next time
Hi! What if I define routes that way :
GoRouter(
debugLogDiagnostics: true,
routes: [
GoRoute(
path: '/',
builder: (BuildContext context, GoRouterState state) {
return const Home();
},
),
GoRoute(
path: '/details',
builder: (BuildContext context, GoRouterState state) {
return const Details();
},
),
],
);
OR
GoRouter(
debugLogDiagnostics: true,
routes: [
GoRoute(
path: '/',
builder: (BuildContext context, GoRouterState state) {
return const Home();
},
routes: [
GoRoute(path: 'details',builder: (context, state) {
return Details();
},),
]
),
],
);
What is the difference between both ways? please do let me know.
I just tried first way. Let me know if you tried them both and result
I tried both cases, in the first case we'll have absolute path and in the second one we'll have a relative path.
Please do quran app using api
Where do you get the api?
@@dbestech Please do us quran an Using Provider State Management
Confusing explanation