Diljith
Diljith

Reputation: 69

Flutter Architecture for present and future

hi i am a newbie in Coding by self leaning,just kickstarted with flutter development,done a couple of projects,while attending interviews,each one of them is asking about different architectures,seeing lot of architecture names TDD,clean architecture etc,i am bit confused, can somebody please explain which is top architecture ,how to select architectures based on projects,somebody please guide me by explaining why architecture selection is so much important,which is top,or any reference videos or docs might be useful

Upvotes: 2

Views: 216

Answers (1)

Maciej Szakacz
Maciej Szakacz

Reputation: 594

If you develop Flutter Project, I can recommend the architecture that is presented by Felix Angelov (BLoC author) in his tutorials - link

Quick summary:

  1. Use BLoC as a state management,
  2. Split the code into repositories (packages),
  3. Separate the logic from widgets,
  4. Divide the whole project into 3 layers (Presentation Layer, Business Layer, Data Layer),
  5. Provide tests (do not merge without 100% tests coverage)

Upvotes: 1

Related Questions