Learning more about the Provider and ChangeNotifier architecture, I find it really similar to the old good MVVM architecture, where a Widget is the View and gets notified for changes by the ViewModel, which is the ChangeNotifier, linked by a Consumer and a Provider.
Why isn't this called MVVM for Flutter then? Are there any actual differences between those two architectures?
provider is by no mean an architecture. It's an ingredient.
There's absolutely nothing forcing you to use ChangeNotifier when using Provider.
You can use it in combination with other things, including Mobx, BLoC, Redux, ...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With