property_change_notifier
property_change_notifier copied to clipboard
A drop-in replacement for ChangeNotifier for observing only certain properties of a model
One of the great things about C# is that it has Batch processing where you stop notifications, do some work and then notify for the entire batch. I'm trying to...
There is a bug with the current implementation of `notifylisteners`: ``` void notifyListeners([T? property]) { assert(_debugAssertNotDisposed()); assert(property is! Iterable, 'notifyListeners() should only be called for one property at a time');...
I see in [provider](https://pub.dev/packages/provider) package, they allow us to inject multiple Provider at the root of app by using [MultiProvider ](https://pub.dev/packages/provider#multiprovider) to avoid nested Provider, like this: ``` @override Widget...
Quite a few lines per property are needed currently, and you need to keep Strings of your property names around, which is error prone and not compile time safe. The...