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
  • Наука та технологія

КОМЕНТАРІ • 26

  • @thomaskoppen9675
    @thomaskoppen9675 23 дні тому

    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"

  • @ntirinigasenior7901
    @ntirinigasenior7901 2 роки тому +2

    I really appreciate what you do and I learn a lot from your tutorials , cheers

  • @peace2941
    @peace2941 2 роки тому +4

    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 !

    • @viniciusps01
      @viniciusps01 2 роки тому

      For me a feature-oriented architecture is the way to go.

  • @anushkapubudu
    @anushkapubudu 2 роки тому

    Very interesting topic ! Thanks for your video. 😁💖

  • @TheCass240
    @TheCass240 2 роки тому +2

    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

    • @FlutterExplained
      @FlutterExplained  2 роки тому +1

      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 :)

  • @verry_codes
    @verry_codes 2 роки тому +1

    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 ^^

    • @FlutterExplained
      @FlutterExplained  2 роки тому

      I am glad that it helped you. Let me know about your decision :)

  • @jonathanngo8757
    @jonathanngo8757 2 роки тому +1

    Thank you!. That is very useful for me!

    • @FlutterExplained
      @FlutterExplained  2 роки тому +1

      Thanks for your feedback, I am glad that it helped you!

  • @lambda-dev
    @lambda-dev Рік тому +1

    I usually create folders for the features first, so that I do not have to switch between layer folders when working on a feature.

  • @jeffreymilanes6321
    @jeffreymilanes6321 2 роки тому

    I hope this also contains on how does the folder by feature connected with each other.

  • @ismailelmogy7091
    @ismailelmogy7091 2 роки тому +4

    I hope explain clean architecture with cubit and implement that on project

    • @FlutterExplained
      @FlutterExplained  2 роки тому

      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 :)

  • @sargamagarwal4544
    @sargamagarwal4544 2 роки тому +1

    Bestttt

  • @jiren8991
    @jiren8991 2 роки тому +1

    Well I personally prefer DDD for large projects like e-commerce app or a live-streaming app

  • @teajhaney
    @teajhaney 2 роки тому +1

    Hello Max, can you make a video on using custom paint and renderobject in flutter for beginners? Thank you.

    • @FlutterExplained
      @FlutterExplained  2 роки тому

      Added to my video ideas :)

    • @teajhaney
      @teajhaney 2 роки тому

      @@FlutterExplained thank you, anticipating.

  • @Ismoh0815
    @Ismoh0815 2 роки тому

    Discord link is expired. Where can I join discord?

    • @FlutterExplained
      @FlutterExplained  2 роки тому

      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 :)

  • @constChg
    @constChg 2 роки тому +1

    Is mentorship still available?

    • @FlutterExplained
      @FlutterExplained  2 роки тому

      Active since last week again :) sorry for the long delay but had a lot on my plate.

  • @peacebreak6917
    @peacebreak6917 2 роки тому

    Zoom the editor more