Flutter Clean Architecture

Поделиться
HTML-код
  • Опубликовано: 20 май 2024
  • In this video, let's learn the secrets of Flutter Clean Architecture to structure your Flutter app for scalability, maintainability, and testability. Master the core principles of Clean Architecture and streamline your coding practices.
    👉👉Source Code: github.com/HeyFlutter-Public/...
    TIMELINE
    00:00 - 00:38 Introduction
    00:38 - 01:43 What is Clean Architecture
    01:43 - 01:51 Domain layer folder structure
    01:51 - 02:24 Entities
    02:24 - 02:37 Failures
    02:37 - 03:15 Repositories
    03:15 - 03:53 UseCases
    03:53 - 04:39 Exceptions
    04:39 - 06:41 Data layer
    06:41 - 08:07 Repositories inside Data layer
    08:07 - 11:43 Presentation layer
    11:43 - 14:50 Fetching notes (new Future)
    14:50 - 18:10 Dependency injection
    18:10 - 18:51 Main dart file
    18:51 - 19:57 Summary
  • РазвлеченияРазвлечения

Комментарии • 43

  • @HeyFlutter
    @HeyFlutter  3 месяца назад

    👉Join 12 Week Flutter Training: heyflutter.com
    👉Join the WhatsApp Channel to get the latest news about Flutter & HeyFlutter: whatsapp.com/channel/0029VaDNCZtC1Fu8nL2vmw3f

    • @kimpu6738
      @kimpu6738 3 месяца назад

      Pls course fee?

  • @CodingYourLife
    @CodingYourLife 4 месяца назад +7

    🚀 Fantastic tutorial on Flutter Clean Architecture! 🌟 This walkthrough is a game-changer for anyone striving for scalable, maintainable, and testable Flutter apps. The breakdown of the Clean Architecture principles is clear and concise, making it easy to follow.
    📋 The detailed timeline is incredibly helpful! It allows viewers to navigate to specific sections effortlessly. The explanation of each layer - from the domain to presentation - is thorough, providing a solid foundation for implementation.
    👏 Kudos to the presenter for demystifying the complexities of Clean Architecture! The emphasis on folder structure, entities, failures, repositories, use cases, exceptions, and more is invaluable. The real gem is the practical demonstration of fetching notes and implementing dependency injection.
    🙏 Thank you, [Channel Owner's Name], for sharing this insightful content! Your commitment to educating the Flutter community is commendable. I appreciate the effort you put into making complex topics accessible. Looking forward to more enlightening tutorials! 🔍💡
    #Flutter #CleanArchitecture #CodingMastery

    • @HeyFlutter
      @HeyFlutter  4 месяца назад +1

      Glad to hear that, Thank you @CodingYourLife! 😊

    • @CodingYourLife
      @CodingYourLife 4 месяца назад

      @@HeyFlutter It's ok

  • @cortana324
    @cortana324 4 месяца назад +10

    The single best video on Flutter architecture.

    • @HeyFlutter
      @HeyFlutter  4 месяца назад +1

      Glad to hear that, Thank you @cortana324! 😊

  • @1flutterpro
    @1flutterpro 4 месяца назад +9

    🎉 The coolest channel ever, dropping some seriously deep knowledge! Big thanks to everyone - super pumped to try this out on my next projects. Learned a ton from this code and video. And shoutout for the open-source code! 🚀

    • @HeyFlutter
      @HeyFlutter  4 месяца назад

      Glad to hear that, Thank you @1flutterpro! 😊

  • @MdSiam-kw5ox
    @MdSiam-kw5ox 4 месяца назад +4

    This awesome video is for professional Flutter developers. Thanks for the video.

    • @HeyFlutter
      @HeyFlutter  4 месяца назад

      You are welcome, @MdSiam-kw5ox 😊

  • @infvyr
    @infvyr 4 месяца назад

    I like this approach on clean architecture. Well done, thank you!

    • @HeyFlutter
      @HeyFlutter  4 месяца назад

      You’re most welcome, @infvyr! 🙂

  • @ugandanbasement5020
    @ugandanbasement5020 4 месяца назад +1

    Best tutorial

    • @HeyFlutter
      @HeyFlutter  4 месяца назад

      Thank you, @ugandanbasement5020! 🙂

  • @wilsonchinedu813
    @wilsonchinedu813 4 месяца назад +1

    Beautiful

    • @HeyFlutter
      @HeyFlutter  4 месяца назад

      Thanks, @wilsonchinedu813! 🙂

  • @abdulwahabkhan4316
    @abdulwahabkhan4316 4 месяца назад +1

    Magnificent...👍 that alot of things diliverd in a very short time...
    Can we use Riverpod for dependency injection and state management instead of get_it and bloc and achive same thing ? or its a bad idea for some reason? or there are some use case to chose between them?

    • @HeyFlutter
      @HeyFlutter  4 месяца назад

      Thank You @abdulwahabkhan4316! Follow this link: shivamkumarnayak.medium.com/understanding-the-differences-between-bloc-and-riverpod-state-management-in-flutter-with-examples-7e3a9dca2720
      I hope you will get your answer 🙂

  • @funnymoment9164
    @funnymoment9164 4 месяца назад

    Thanks!

    • @HeyFlutter
      @HeyFlutter  4 месяца назад +1

      Glad you liked it, @funnymoment9164 😀

  • @ismoilazamov9337
    @ismoilazamov9337 4 месяца назад +1

    Thanks for pf video

    • @HeyFlutter
      @HeyFlutter  4 месяца назад

      You are welcome, @ismoilazamov9337!

  • @z_fx_rrr_tube7185
    @z_fx_rrr_tube7185 4 месяца назад

    Thanks

    • @HeyFlutter
      @HeyFlutter  4 месяца назад

      You are welcome, @z_fx_rrr_tube7185 😊

  • @user-jh7xq8vl7r
    @user-jh7xq8vl7r 4 месяца назад

    very good ;thank

    • @HeyFlutter
      @HeyFlutter  4 месяца назад

      You are welcome, @user-jh7xq8vl7r!

  • @karanparmar2733
    @karanparmar2733 4 месяца назад

    need to create new bloc or state for every event is there something we can do to make it generic like creating generic class for every states so we do not have to listen every time new state in bloc builder or bloc listeners. it will show screen based on states like loading loaded and failure.

    • @HeyFlutter
      @HeyFlutter  4 месяца назад

      Thank You @karanparmar2733! Follow this link: stackoverflow.com/questions/76174612/information-on-flutter-bloc-pattern-to-reuse-the-state-and-event-classes
      I hope you will get your answer 🙂

  • @ShiBily.-I0_0I-.
    @ShiBily.-I0_0I-. 4 месяца назад +1

    yes.....

  • @ShiBily.-I0_0I-.
    @ShiBily.-I0_0I-. 4 месяца назад

    can i convert my old non architecture getex code to Bloc clean arch ???

    • @HeyFlutter
      @HeyFlutter  4 месяца назад +1

      Sure, @WORLDinDANGER1 🙂but it'll be little difficult to convert already existing project's architecture. Please make sure to analyze all the impacts before going forward with new architecture.

  • @flutter-fm1kl
    @flutter-fm1kl 4 месяца назад

    I have questions: how to filter firebase data.

    • @HeyFlutter
      @HeyFlutter  4 месяца назад

      Thanks for the idea @flutter-fm1kl 😀, i have added it in my list of future videos

  • @PaoloTshiyole
    @PaoloTshiyole 4 месяца назад

    Good video like every time
    Would you make for us, a Stripe payment and subscription video with Flutter Web as the 2024 gift 🎉 please, there's no the single video in RUclips... And you're the best flutter RUclipsr

    • @HeyFlutter
      @HeyFlutter  4 месяца назад +1

      Thanks for the idea, @PaoloTshiyole! 🙂 I have added it to my list of ideas for future videos!

    • @PaoloTshiyole
      @PaoloTshiyole 4 месяца назад

      @@HeyFlutter Thank you, I will look forward to that

  • @MrHero-rl6cl
    @MrHero-rl6cl 4 месяца назад

    What is the name of this architecture?

    • @HeyFlutter
      @HeyFlutter  4 месяца назад

      Hey, @MrHero-rl6cl 🙂 this architecture itself is called as "Flutter Clean Architecture"

    • @MrHero-rl6cl
      @MrHero-rl6cl 4 месяца назад +4

      @@HeyFlutter there is nothing as Flutter clean architecture. That's just a general word used when we use any architecture pattern while developing. I looked up on internet the architecture you taught in video is called VIPER(View-Interactor-Presenter-Entity-Router) architecture pattern. I means its mix of use case and VIPER architecture

    • @sarvagyasaxena4565
      @sarvagyasaxena4565 4 месяца назад

      ​@@MrHero-rl6clInsightful 👍

  • @manishmg3994
    @manishmg3994 4 месяца назад +2

    not so good , need get_it , injectable , freezed , json_serial... , in it
    with flutter_bloc

    • @HeyFlutter
      @HeyFlutter  4 месяца назад

      Hey, @manishmg3994 🙂 it may feel little messy in the beginning but once you'll bring it in pratcice you'll love it for sure.