Files and Folder Structure in Flutter & Dart
Вставка
- Опубліковано 21 лип 2024
- I will show you how I structure my apps in Flutter and Dart, but because I want to show you my perspective, we will have a look into the Provider package and the InvoiceNinja project. These are real-world examples, and by them, we want to discuss the pros and cons of different Folder structures.
Relevant Links
github.com/invoiceninja/admin...
github.com/rrousselGit/provider
Table of Content
00:00 - Welcome to Flutter Explained
01:05 - Personal Project: Compario
07:08 - Provider Package
11:44 - InvoiceNinja Admin Portal Project
18:42 - Next steps!
Do you want to have an amazing Tool to work with your invoices and want to support this channel? Checkout InvoiceNinja with this referral code:
app.invoiceninja.com/invoice_...
Join this channel to get access to perks:
/ @flutterexplained
** New Mentorship Program to boost your Flutter career **
gumroad.com/products/ydgtfV
** Social Medias **
Website: flutter-explained.dev
Say hi to Max
Twitter: / flutter_exp
GitHub Max: github.com/md-weber
LinkedIn: / max-weber-9889a3ba
Discord: / discord
Say hi to Mahtab
Twitter Mahtab: / mahtab_dev
GitHub Mahtab: github.com/mt-tadayon - Наука та технологія
What I as a beginner would be interested in, is a video explaining how to share data between dart files, how to handle public variables etc and keep variables and information "synced"
I really appreciate what you do and I learn a lot from your tutorials , cheers
Thank you Max! great video! I have used mvvm in the past, but I'm currently playing with a feature-oriented architecture currently, stay healthy and keep it up !
For me a feature-oriented architecture is the way to go.
Very interesting topic ! Thanks for your video. 😁💖
Very useful! For large projects I usually add one more layer on top of this where instead of having one shared folder the application is split up into features where every feature has it's own views, repository, and state
Thank you Cas, that is true I should have also mentioned Domain-Driven Folder structure or Feature-based folder structure. Maybe a good reason to create another video :)
Super useful video! I'm having a different folder structure in each project because I'm always feeling like I can do it differently and it's still better or at least not worse... Need to decide for one finally ^^
I am glad that it helped you. Let me know about your decision :)
Thank you!. That is very useful for me!
Thanks for your feedback, I am glad that it helped you!
I usually create folders for the features first, so that I do not have to switch between layer folders when working on a feature.
I hope this also contains on how does the folder by feature connected with each other.
I hope explain clean architecture with cubit and implement that on project
Hi, thanks for your feedback, but I guess you will be a bit disappointed. It is more about general folder structure and structures in other larger applications like the InvoiceNinja project. If you want to know more about Cubit, I created already a video for that, and if you want to have a more in a deep dive video I will add it to my list :)
Bestttt
Well I personally prefer DDD for large projects like e-commerce app or a live-streaming app
Hello Max, can you make a video on using custom paint and renderobject in flutter for beginners? Thank you.
Added to my video ideas :)
@@FlutterExplained thank you, anticipating.
Discord link is expired. Where can I join discord?
I cleaned unused services and my Discord channel was not really used often, so I decided to remove the noise. Feel free to join the Flutter Community or Flutter Discord, both are well maintained and I answer questions directly there :)
Is mentorship still available?
Active since last week again :) sorry for the long delay but had a lot on my plate.
Zoom the editor more