lundi 9 août 2021

What types of design patterns are there in Flutter? And what is the best option at the moment?

I am a newbie in Flutter programming. I am Android programmer and now I am learning Flutter. But I am quite confused in choosing the most suitable and optimal app architecture with a Flutter app.

With Flutter, through research, I found that there is one app architecture that people often use, which is Flutter-BLoC. Through research, I found that BLoC is a design pattern used to manage state. The UI sends events to the BLoC, the BLoC receives and processes the business logic and returns the UI states accordingly.

But I didn't find any documentation on Flutter about recommending BLoC as a recommended design patter. With Android, Google has given encouragement on the issue of App Architecture to use MVVM and Repository Pattern.

So I wanted to get everyone's opinion on what app architectures people are using, their advantages and disadvantages.

Thank you very much!

Aucun commentaire:

Enregistrer un commentaire