i am beginner in flutter now and i want to learn software architecture patterns but many confusion in this. i want to know clean architecture and MVVM both are same?
if no?what is difference between them and what is MVVM + clean architecture in flutter
and please let me know best resource to learn as beginner
2
Answers
Clean architecture separates the application into different layers like data, domain, application
MVVM separate view model and the view for the screen in the application folder
I suggest you first read Uncle Bob’s explanation of Clean Architecture.
Clean Architecture separates the development (the app in your case) into different layers (most commons are Presentation, Domain, and Data).
For your question: MVVM is actually part of the Presentation layer, in Flutter it’s quite similar to the BLoC pattern.