bon_notifiers 2.0.0
bon_notifiers: ^2.0.0 copied to clipboard
A collection of custom notifiers and notifier mixins
2.0.0 #
- changed
AsyncNotifiertoAsyncValueNotifier - changed
AsyncListenerinterface to not include results - The new
AsyncNotifieris now more similar to change notifier, but with loading and error properties. - Added new AsyncValueListenableBuilder for AsyncValueNotifier.
- added new runFuture methods to both async notifiers
- changed [result] to [data].
- added BusyMixin
1.1.1 #
- removed
ResultUpdateFunction<T>typedef as it is replaced byActionCallback<T>typedef.
1.1.0 #
- made message optional, to allow for not logging every single message
- made stacktrace parameter in errorListener callback non-nullable.
- added update method to
AsyncNotifier. - changed min dart sdk version down to 3.0
1.0.0 #
- made custom loading indicator not constraint in a 40 x 40 box.
- added requireResult getter to
AsyncListenableinterface, added implementation toAsynNotifier
0.0.4 #
- made
AsyncNotifierandErrorNotifiersetError methods take the same arguments - added static
errorListenertoAsyncNotifier
0.0.3 #
- Updated exports
0.0.2 #
- Added debug BonError
0.0.1 #
- Added AsyncNotifier
- Added AsyncListenable Interface
- Added AsyncListenableBuilder
- Wrote tests testing AsyncNotifier and AsyncListenableBuilder
- Added ErrorMixin
- Added LoadingMixin