7. Best Practices for your Flutter Project

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2024

ความคิดเห็น • 37

  • @bennguyen1313
    @bennguyen1313 2 ปีที่แล้ว +6

    Regarding #3, would be nice if there was a collection of flutter apps, that one could learn good coding practices from. Being exposed repeatedly to good source code, I think one (unconsciously?) adopts that approach!
    Never heard of CI/CD, any plans for a dedicated video on that?

    • @FlutterExplained
      @FlutterExplained  2 ปีที่แล้ว +2

      Great idea, thanks for your feedback, there are quite some examples on fluttergems.dev/ and flutter.github.io/samples/# mostly with source code that you could have an eye on. I hope that helps :)

  • @dipakbari4
    @dipakbari4 3 ปีที่แล้ว +7

    0:01 -> Introduction
    0:51 -> Overview of Best Practices for your Flutter Project
    1:41 -> Practice #1 [ Setup Code Linting Rules ]
    3:44 -> Practice #2 [ Single Responsibility ]
    5:12 -> Practice #3 [ Read and Learn from the Flutter Repository ]
    7:08 -> Practice #4 [ Keep Widgets Short, Narrow and Concise ]
    8:52 -> Practice #5 [ Start your code with CI / CD in mind ]
    10:43 -> Practice #6 [ Do not Hard Code Styles into your widgets ]
    11:57 -> Practice #7 [ Plan before you code ]
    13:35 -> Conclusion

    • @FlutterExplained
      @FlutterExplained  3 ปีที่แล้ว +2

      Hi Dipak, thank you so so much! I always forget about that :)

    • @dipakbari4
      @dipakbari4 3 ปีที่แล้ว

      @@FlutterExplained No worries. It's my pleasure.

  • @parasarora4711
    @parasarora4711 3 ปีที่แล้ว +3

    I usually do make a master widget and remaining private widget (class) in a single file(200 -300 LOC max). so no problem on naming convention

  • @zacharysilverzweig7715
    @zacharysilverzweig7715 11 หลายเดือนก่อน +1

    Great video here!
    Im just jumping into a new Flutter project after several years of react/ts, and I can’t believe how easy it is.
    What blows my mind has been how easy refactoring is in the system, which lets you execute the ideas you are mentioning here without almost any extra effort.

  • @karimlazaar5932
    @karimlazaar5932 3 ปีที่แล้ว +2

    Halo! Thanks for this informations it really helps.
    I want to ask if their is special best practices for flutter web and as you know they said its still beta and not for production is that mean that we don't do production apps or thats depend on the app?
    I made a mobile app and planning to do the admin dashboard with flutter too.

    • @FlutterExplained
      @FlutterExplained  3 ปีที่แล้ว +1

      Hi Karim, you are most welcome.
      I do not have a best practice for Flutter web besides of keep it as responsive as possible :). But there are some limitation to keep in mind while in Beta phase, for example you will not have a proper SEO in Flutter Web and the performance in *not* chromium browsers is not great.

  • @onurucar1112
    @onurucar1112 3 ปีที่แล้ว +1

    Wow! I just started learning Flutter and you uploaded this video 2 days ago. This should be a sign.

  • @burakbirer5938
    @burakbirer5938 3 ปีที่แล้ว +1

    I can speculate that video will be the opening of "Best Practices for Flutter" playlist. :)

  • @ysapaa9173
    @ysapaa9173 3 ปีที่แล้ว +2

    Great video, very useful. Thanks and keep it up!

    • @FlutterExplained
      @FlutterExplained  3 ปีที่แล้ว +1

      Thank you lysa, I will give my best :)

  • @prolaymm
    @prolaymm 2 ปีที่แล้ว +1

    Thank you sir, Very helpful video

  • @esentakos
    @esentakos 3 ปีที่แล้ว +2

    Very useful video ! Thanks for your efforts.

    • @FlutterExplained
      @FlutterExplained  3 ปีที่แล้ว +1

      Thank you :) I am happy that you liked it!

  • @hemishpancholi
    @hemishpancholi 3 ปีที่แล้ว +1

    Can you please make a tutorial for making a tutorial for CI-CD Integration

    • @FlutterExplained
      @FlutterExplained  3 ปีที่แล้ว

      I did that already with CodeMagic, do you search for a specific tool?

    • @hemishpancholi
      @hemishpancholi 3 ปีที่แล้ว

      @@FlutterExplained Nope any tool would be good.

  • @ahmedadnan5875
    @ahmedadnan5875 3 ปีที่แล้ว +1

    my biggest problem I have faced was Project file structuring

    • @FlutterExplained
      @FlutterExplained  3 ปีที่แล้ว

      How did you solved it?

    • @ahmedadnan5875
      @ahmedadnan5875 3 ปีที่แล้ว +1

      @@FlutterExplained I still don't know how to do it professionally

    • @FlutterExplained
      @FlutterExplained  3 ปีที่แล้ว +1

      @@ahmedadnan5875 Alright sounds like an idea for an upcoming video! In the meantime feel free to check the amazing video by my friend Robert Brunhage here: th-cam.com/video/yJRpuTP156o/w-d-xo.html

    • @ahmedadnan5875
      @ahmedadnan5875 3 ปีที่แล้ว +1

      @@FlutterExplained it was good recommendation, the best one I have found yet is from "Reso Coder" by using DDD architecture "Domain Driven Design" he made a tutorial about it but it's only good for scalable or big project

  • @BBFTW36
    @BBFTW36 3 ปีที่แล้ว +1

    Bist deutscher wahr? :D

  • @kaivalpatel3990
    @kaivalpatel3990 3 ปีที่แล้ว +2

    Sir one suggestion, you could have shown the example along with your video in some of the tips...NICE ❤️ LOVE FROM INDIA 🇮🇳

  • @bskinfotech
    @bskinfotech 3 ปีที่แล้ว

    Sir how much possible in iOS physical device connect windows system

  • @nikhilkukreja8498
    @nikhilkukreja8498 3 ปีที่แล้ว +1

    Thank you Max :)

  • @affanamir1412
    @affanamir1412 3 ปีที่แล้ว

    Amazing 😍 points loved it

  • @loveinfotube7780
    @loveinfotube7780 3 ปีที่แล้ว

    Help me I want help
    I want to do flutter
    A Digital Persona 4500 connect phone on otg for student exam information displays and results is also a fingerprint from the php database rescore.

  • @iansmith3301
    @iansmith3301 3 ปีที่แล้ว +2

    This is a great video but you should also have follow up videos that are 2-6 minutes long that tie to each point and demonstrate them :). Having a video on how to whiteboard designs and tips on how to plan the architecture for an app would be awesome! Thanks for what you do! Ps, the info boxes you were mentioning don't show up for me.

    • @FlutterExplained
      @FlutterExplained  3 ปีที่แล้ว

      Thank you for your feedback, I will have a look. I started already a blog post series and hope that I also can provide some additional videos about each detail :).