
Flutter Tutorial - Building a Production App From Scratch
video description
Date: 2022-03-14
Related videos
Comments and reviews: 10
Hammad
Read my question it's important please, I'm currently working on an e-commerce project Having an issue with route navigation stacking
I've an appbar with cart action button
1) user tap on a product. It gets you to the product detail and fetch it by ID.
2) on redirecting to product detail, I pop HomeView.
3) when user tap on back button, I offPush to home screen.
4) when user is on cart screen from detail page and on tap of cart item it redirects to detail page and then pop it on back button press.
Etc......
I'm currently using onRouteGenerator to manage my route navigation. But I don't know how can I recognize is it home page I should redirect to or detail. When screen gets more nested and nested it's becomes a mass to handle.
Sorry for the bad explanation
reply
Read my question it's important please, I'm currently working on an e-commerce project Having an issue with route navigation stacking
I've an appbar with cart action button
1) user tap on a product. It gets you to the product detail and fetch it by ID.
2) on redirecting to product detail, I pop HomeView.
3) when user tap on back button, I offPush to home screen.
4) when user is on cart screen from detail page and on tap of cart item it redirects to detail page and then pop it on back button press.
Etc......
I'm currently using onRouteGenerator to manage my route navigation. But I don't know how can I recognize is it home page I should redirect to or detail. When screen gets more nested and nested it's becomes a mass to handle.
Sorry for the bad explanation
reply
T0kwe
In my Opinion you are not abstracting the services enough from the UI Code. What happens when my App gets lots of Users and Firebase is too expensive? Then I want to switch my backend and with this architecture it is not possible because you use the Firebase Specific Models in the UI Code. So the UI Layer (Widgets & Screens) and the infrastructure layer (Services & Repositories) should be independent of each other and the domain layer should be independent from Flutter and Firebase. Then the domain layer defines contracts and models which are implemented in the infrastructure layer and the UI layer is then using these implementations via dependency injection.
reply
In my Opinion you are not abstracting the services enough from the UI Code. What happens when my App gets lots of Users and Firebase is too expensive? Then I want to switch my backend and with this architecture it is not possible because you use the Firebase Specific Models in the UI Code. So the UI Layer (Widgets & Screens) and the infrastructure layer (Services & Repositories) should be independent of each other and the domain layer should be independent from Flutter and Firebase. Then the domain layer defines contracts and models which are implemented in the infrastructure layer and the UI layer is then using these implementations via dependency injection.
reply
Julius
Great tutorial! Only issue now is that the code seems to have been just slightly outdated, only on two lines.
content = documentSnapshot.data() ['content'] as String;
done = documentSnapshot.data() ['done'] as bool;
Doesn't work, the [ ] isn't accepted... it just goes -Error: The operator '[]' isn't defined for the class 'Object'.-
reply
Great tutorial! Only issue now is that the code seems to have been just slightly outdated, only on two lines.
content = documentSnapshot.data() ['content'] as String;
done = documentSnapshot.data() ['done'] as bool;
Doesn't work, the [ ] isn't accepted... it just goes -Error: The operator '[]' isn't defined for the class 'Object'.-
reply
Mr
Oh Maahnn!...-..
I don't know what to say, you saved my not a single day. I am beginner on Programming so i have many doubts and problems to find out. but majority of them solved with a single video. the all thinks are perfectly crystal clear. i watched more tutorials but all of them wasted my time. anyway thanks from bottom of heart :)
reply
Oh Maahnn!...-..
I don't know what to say, you saved my not a single day. I am beginner on Programming so i have many doubts and problems to find out. but majority of them solved with a single video. the all thinks are perfectly crystal clear. i watched more tutorials but all of them wasted my time. anyway thanks from bottom of heart :)
reply
Jasmin
hi I wanted to develop an app in flutter and dart, my logic building concepts aren't clear, just a beginner and want your help in its development also I already have the full layout ready just need implementation with your help in collaboration .even little knowledge is ok but should be determined
reply
hi I wanted to develop an app in flutter and dart, my logic building concepts aren't clear, just a beginner and want your help in its development also I already have the full layout ready just need implementation with your help in collaboration .even little knowledge is ok but should be determined
reply
Earl
Hi there Tadas, what a great video. But I have a concern on taking course on Udemy, they are kinda outdated like sometimes the codes are deprecated or removed. I'm looking for something that is really updated like the flutter 2.2 and also how to do with state management or the Providers. THANKS!
reply
Hi there Tadas, what a great video. But I have a concern on taking course on Udemy, they are kinda outdated like sometimes the codes are deprecated or removed. I'm looking for something that is really updated like the flutter 2.2 and also how to do with state management or the Providers. THANKS!
reply
Chetan
Actually feel bad about criticizing but these videos don't really teach you much, it's more like revision for what you know.
You need videos that talk about what you are doing and why you are doing it step by step.
Unfortunately most tech guys are pretty bad at teaching:)
reply
Actually feel bad about criticizing but these videos don't really teach you much, it's more like revision for what you know.
You need videos that talk about what you are doing and why you are doing it step by step.
Unfortunately most tech guys are pretty bad at teaching:)
reply
Arshad
Great tutorial!-
I facing a problem actually I am working on a like button similar Facebook has. if a user has a login then he will be able to like or unlike the post. using a listview builder for it. if you have an idea or have code then please share it with me. Thanks
reply
Great tutorial!-
I facing a problem actually I am working on a like button similar Facebook has. if a user has a login then he will be able to like or unlike the post. using a listview builder for it. if you have an idea or have code then please share it with me. Thanks
reply
Alex
I must say that this tutorial is not good for people who wish to follow each step and reproduce the whole app. He goes over the whole thing very fast. It is an intermediate tutorial. It is good to just watch through and get the gist of it.
reply
I must say that this tutorial is not good for people who wish to follow each step and reproduce the whole app. He goes over the whole thing very fast. It is an intermediate tutorial. It is good to just watch through and get the gist of it.
reply
AntDinoDev
got to 19:40. He went a bit too fast and doesn't show the code for the login screen. Would like to see how he validates his login data. Also he doesn't show the imported packages for the yaml file.
reply
got to 19:40. He went a bit too fast and doesn't show the code for the login screen. Would like to see how he validates his login data. Also he doesn't show the imported packages for the yaml file.
reply
Add a review, comment
Other channel videos















