Can someone explain the difference between using Provider package and using ValueNofifier?
Right now I’m using ValueNotifier and ValueListenableBuilder in my app and I see so much similarity between this and using Providers and Consumers. Both have listeners which rebuild widgets with the latest data provided and both use ChangeNotifier and notifyListeners.
So what is the difference and when should we choose one of them instead of the other?
Thanks