brianegan / flutter_architecture_samples

TodoMVC for Flutter
http://fluttersamples.com/
BSD 3-Clause "New" or "Revised" License
8.75k stars 1.71k forks source link

which architecture is the better one? #158

Closed guixin567 closed 4 years ago

guixin567 commented 4 years ago

mvvm is the better one for android,so i want to know which is the better one for flutter

mmcc007 commented 4 years ago

This might help: https://www.youtube.com/watch?v=d_m5csmrf7I https://www.youtube.com/watch?v=zKXz3pUkw9A

ghost commented 4 years ago

rxvms

guixin567 commented 4 years ago

This might help: https://www.youtube.com/watch?v=d_m5csmrf7I https://www.youtube.com/watch?v=zKXz3pUkw9A

thanks

brianegan commented 4 years ago

At the end of the day, the "best" architecture is the one that fits your product, business and team's goals. Different architectures are good or bad for different teams and goals.

As the best place to get started, I'd follow the Flutter team's current advice: ChangeNotifier + Provider package.