Back to Browse

Complete Flutter App Course | Flutter Tutorial for Beginners | Repository & UseCases (3)

9.1K views
Sep 3, 2020
17:56

#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 formats

No download links available.

Complete Flutter App Course | Flutter Tutorial for Beginners | Repository & UseCases (3) | NatokHD