Complete Flutter App Course | Flutter Tutorial for Beginners | Repository & UseCases (3)
#MovieApp #ProApp #IndustryStandard #Plan #Develop #Publish #EndtoEnd #Repository #UseCase #CleanArchitecture Join this channel to support the channel and get access to perks: https://www.youtube.com/channel/UC3wqIkiaOUpO6EjJoCwH6_Q/join We are building a Movie App with the best coding practices and tools out there. In the previous article, datasource doc, I have explained how to create a data source and how to make API calls. In this article, I will show how you can create repositories and usecases to separate the data layer from the UI layer by introducing the domain layer, with the help of abstraction. ## Problem You have seen in the previous article, that we were calling data source from **main.dart**, which is your UI layer. In a long run, this is not right and certainly needs a layer in between. Also, what this does is, it tightly couples the UI layer with API responses, which can change over time and you'll end up making changes to the data layer as well as the UI layer. ##Solution Find in the Video :) Timeline 0:32 Problem - Data Source in UI 01:45 Solution - Abstract Repository 02:18 Implement Repository 04:50 UseCase 07:30 Dartz 08:34 Error Handling 10:24 Fold Operator 11:28 More UseCases 13:20 Caveat 15:52 NoParams If you liked the video, then please show me by hitting the like button for the video and show some love by giving star ๐ on Github. https://github.com/TechieBlossom/movie_app_tutorial/tree/3repositories_usecases โ โ โ โ โ โ โ โ โ โโ โ โ โ โ โ โ โ โ โ Other Videos โ โ โ โ โ โ โ โ โ โโ โ โ โ โ โ โ โ โ โ โจ Neumorphism, Gradient Chart & Custom Shape End Drawer - https://youtu.be/oExw0U4U_UI โจ Google Stadia App Concept - https://youtu.be/-rqvZfUdSPw โจ Local Events App - https://youtu.be/pAYGLroI1DI โจ Sidebar animation and navigation - https://youtu.be/oExw0U4U_UI โจ Despicable Me Characters App - https://youtu.be/2cl70GbiJZc โจ Flight Ticket App Playlist - https://youtu.be/WBcoWif202s โจ Video Game Messaging App - https://youtu.be/2E-n0WWooGs โจ Bloc Tutorials - https://youtu.be/S2KmxzgsTwk โ โ โ โ โ โ โ โ โ โโ โ โ โ โ โ โ โ โ โ Support!! โ โ โ โ โ โ โ โ โ โโ โ โ โ โ โ โ โ โ โ Helps me in carving out more time for tutorials โค๏ธ From India and don't want to pay commission - There are many ways you can connect with me (Website, Twitter, Comments) โค๏ธ Buy me a Coffee https://www.buymeacoffee.com/AGd0Xngci or here is my โค๏ธ PayPal account paypal.me/techieblossom โ โ โ โ โ โ โ โ โ โโ โ โ โ โ โ โ โ โ โ Follow me! Show your support towards the channel: โ โ โ โ โ โ โ โ โ โโ โ โ โ โ โ โ โ โ โ ๐ฏ Medium - https://medium.com/@prateeksharma ๐ฏ Twitter - https://twitter.com/SharmaPrateek7 ๐ฏ Website - https://www.techieblossom.com ๐ฏ Github - https://github.com/TechieBlossom SUBSCRIBE FOR MORE VIDEOS LIKE THIS LIKE & SHARE THANKS FOR WATCHING!๐๐๐
Download
0 formatsNo download links available.