bon_notifiers 2.0.0 copy "bon_notifiers: ^2.0.0" to clipboard
bon_notifiers: ^2.0.0 copied to clipboard

A collection of custom notifiers and notifier mixins

2.0.0 #

  • changed AsyncNotifier to AsyncValueNotifier
  • changed AsyncListener interface to not include results
  • The new AsyncNotifier is 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 by ActionCallback<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 AsyncListenable interface, added implementation to AsynNotifier

0.0.4 #

  • made AsyncNotifier and ErrorNotifier setError methods take the same arguments
  • added static errorListener to AsyncNotifier

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
2
likes
160
points
28
downloads

Publisher

verified publisherdart.share-a-bite.nl

Weekly Downloads

A collection of custom notifiers and notifier mixins

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on bon_notifiers