async_notifier
A ValueNotifier for all async states. Listen, notify, and manage loading, error and data in one place.
0.7.0
arthurbcd/async_notifier
What this package is like to depend on
Last release 9 months ago
07 Nov 2025
Release timing varies
gaps range from 2 weeks to 10 months
Most releases are documented
notes for 8 of 13 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
13 releases · first in 2023
2 releases in the last 12 months
see the full history below
Release timeline
13 releases · Oct 2023 to Nov 2025Releases
latest 13-
0.7.007 Nov 2025Release notes
Open source →- Adds
AsyncNotifier.observer&AsyncNotifierObserver. - Remove the need to implement
AsyncSnapshot.
- Adds
-
0.6.019 Oct 2025Release notes
Open source →- Changes
AsyncListenableto a mixin that implementsAsyncSnapshot. - Changes
AsyncNotifierto extend withAsyncListenable. - Added
AsyncSnapshot.errorMessage. - Removes
AsyncListenable.snapshot. Use itself instead.
- Changes
-
0.5.014 Dec 2024Release notes
Open source →- Simplifies
AsyncNotifier. - Removes
AsyncNotifier.onData. - Removes
AsyncNotifier.onError. - Removes
DataChangedtypedef. - Removes
ErrorCallbacktypedef. - Added
AsyncSnapshotExtension.whenData. - Added
AsyncSnapshotExtension.whenError. - Updated
AsyncValueListenableExtension.asAsync. - Updated
README.md. - Updated docs.
- Simplifies
-
0.4.002 Dec 2024Release notes
Open source →- Simplifies
AsyncNotifier. - Removes
AsyncNotifier.late. - Removes
AsyncNotifiersetters. - Removes
AsyncListenablegetters. - Removes
AsyncListenableextensions.
- Simplifies
-
0.3.211 Feb 2024Release notes
Open source →- Adds
requireValueextension toAsyncNotifier. DeprecatesrequireData. - Adds
maybeWhenextension toAsyncNotifier. - Changes nullable
StackTrace?inAsyncSnapshotto be non-nullable. - Changes
AsyncNotifier.whenforFuture<T?>. Now completes withnullinstead of requiring it. - Changes
isReloading. Now considershasErrorin all cases, instead of justhasData. - Updated tests.
- Adds
-
0.3.106 Feb 2024Nothing published for this version
-
0.3.006 Feb 2024Nothing published for this version
-
0.2.331 Oct 2023Release notes
Open source →- BREAKING CHANGE: Removed
reloadingparameter fromwhenextension. UseisReloadinginsidedataparameter instead. - Adds
skipLoadinginwhenextension. - Adds
whenOrNullextension toAsyncSnapshotextension andAsyncNotifier. - Adds
hasNoneextension toAsyncSnapshotandAsyncNotifier. - Adds
setValueinAsyncNotifierwithnotify = trueoptional parameter. - Adds
setValueas an extension toValueNotifier. - Adds
listenmethod as an extension toValueListenable. - Adds
syncmethod as an extension toListenable. - Updated documentation of extensions.
- Updated example.
- Updated tests.
- BREAKING CHANGE: Removed
-
0.2.230 Oct 2023Nothing published for this version
-
0.2.130 Oct 2023Nothing published for this version
-
0.2.029 Oct 2023Nothing published for this version
-
0.1.118 Oct 2023Release notes
Open source →-
Adds
cancel()method toAsyncNotifier: Now you can manually unsubscribe to current future! (and stream). This will essentially cancel stream or ignore future result. Setting them to null andConnectionStateto none. -
Fixes a problem where the stream wasn't being cast as broadcast correctly.
-
Updates
futureandstreamsetters to better address initial values. -
Updates README.md
-
Removes unnecessary asserts on
AsyncSnapshotxtension.
-
-
0.1.015 Oct 2023