context_watch
A hassle-free way to watch for observable value changes within the `build` method.
7.0.3
18K downloads/mo
#2297 most downloaded on pub.dev
s0nerik/context_plus
What this package is like to depend on
Last release 9 months ago
02 Nov 2025
Release timing varies
gaps range from 2 weeks to 6 months
Nearly every release is documented
notes for 25 of 25 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
30 releases · first in 2023
1 release in the last 12 months
see the full history below
Release timeline
30 releases · Nov 2023 to Nov 2025Releases
latest 30-
7.0.302 Nov 2025 -
7.0.222 Jun 2025 -
7.0.114 Jun 2025 -
7.0.022 May 2025Release notes
Open source →Note: There are no breaking API changes apart from a couple tiny changes to the way custom
ContextWatchers are defined.If you don't use any custom
ContextWatchers - upgrading the package shouldn't break anything for you.- REFACTOR: Significant internal code changes aimed at maximizing the performance and unifying the logic for attaching data to a
BuildContextamong allcontext_*packages.
- REFACTOR: Significant internal code changes aimed at maximizing the performance and unifying the logic for attaching data to a
-
6.0.003 May 2025Release notes
Open source →Note: This release has breaking changes.
Note: This release requires Dart 3.7.0 or newer
-
BREAKING FEAT: watch*() on Listenable/ValueListenable is even more convenient now!
TListenable.watch(context)now returnsTListenableinstead ofvoidValueListenable<T>.watchOnly()/.watchEffect()now provideTinstead ofTListenableas a value
-
DOCS: README improvements
-
-
5.1.319 Mar 2025 -
5.1.218 Sep 2024 -
5.1.118 Sep 2024 -
5.1.007 Sep 2024Release notes
Open source →- REFACTOR: simplified callback argument selection API for ContextWatchSubscription.
- REFACTOR: simplified exports.
- FEAT: Multi-value watching via (obs1, obs2, ...).watch*(context).
2024-08-24
Changes
Packages with breaking changes:
- There are no breaking changes in this release.
Packages with other changes:
-
5.0.124 Aug 2024Release notes
Open source →- DOCS: README.md update.
2024-08-22
Changes
Packages with breaking changes:
context_plus-v4.0.0context_watch-v5.0.0context_watch_base-v5.0.0context_watch_bloc-v2.0.0context_watch_getx-v2.0.0context_watch_mobx-v2.0.0context_watch_signals-v2.0.0
Packages with other changes:
- There are no other changes in this release.
-
5.0.022 Aug 2024Release notes
Open source →- BREAKING FEAT: context.use().
- BREAKING FEAT: watch*() on Listenable/ValueListenable is even more convenient now!
2025-05-22
Changes
Packages with breaking changes:
context_plus_core-v1.0.0context_plus_lint-v1.0.0context_watch_getx-v4.0.0context_plus-v6.0.0context_ref-v3.0.0context_watch-v7.0.0context_watch_base-v8.0.0context_watch_bloc-v5.0.0context_watch_mobx-v5.0.0context_watch_signals-v5.0.0
Packages with other changes:
- There are no other changes in this release.
Packages graduated to a stable release (see pre-releases prior to the stable version for changelog entries):
context_plus_core-v1.0.0context_plus_lint-v1.0.0context_watch_getx-v4.0.0
Release notes
Open source →Note: This release does not contain any breaking API changes.
This is a major release because the underlying implementation of
InheritedContextWatchandContextWatcherhad changed significantly and the behavior ofwatchOnly()had been improved to reduce unnecessary rebuilds in one of the edge cases.- FEAT: watchEffect() for attaching side effects to the observed data.
-
4.0.030 Jul 2024Release notes
Open source →- REFACTOR: applied Dart 3.7 formatting.
- BREAKING FEAT: watch*() on Listenable/ValueListenable is even more convenient now!
Release notes
Open source →Note: This release has breaking changes.
-
DOCS: README.md update.
-
BREAKING FEAT: goodbye,
context.unwatch()!All cases of conditional
.watch()'ing are now handled automatically.
-
3.3.023 Jul 2024Release notes
Open source →- FEAT: [context_watch] Removes the rxdart dependency, ValueStreams are still supported! (#14) by @passsy.
- DOCS: removed outdated doc comment for Listenable.watch().
-
3.2.029 Jun 2024Release notes
Open source →- FEAT:
context.inheritRefBindingsFrom(otherContext).
2025-05-27
Changes
Packages with breaking changes:
Packages with other changes:
Packages graduated to a stable release (see pre-releases prior to the stable version for changelog entries):
context_plus_utils-v1.0.0
Packages with dependency updates only:
Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.
context_plus-v6.0.1
Release notes
Open source →- FEAT: async_listenable support integration.
- FIX: proper handling of synchronous new value notifications during build().
- FEAT:
-
3.1.112 Mar 2024Release notes
Open source →- FIX: proper handling of synchronous new value notifications during build().
-
3.1.006 Mar 2024Release notes
Open source →- FEAT: added ability to suppress the "no rebinds" policy for a specific
Ref.bindorRef.bindLazycall usingallowRebindparameter.
2025-05-23
Changes
Packages with breaking changes:
- There are no breaking changes in this release.
Packages with other changes:
- FEAT: added ability to suppress the "no rebinds" policy for a specific
-
3.0.026 Feb 2024Release notes
Open source →Note: This release has breaking changes.
- BREAKING REFACTOR: Simplified the API. Every observable type now has only two extension methods:
watch(),watchOnly().
- BREAKING REFACTOR: Simplified the API. Every observable type now has only two extension methods:
-
2.0.421 Feb 2024Release notes
Open source →- DOCS: updated README.md.
2024-02-19
Changes
Packages with breaking changes:
- There are no breaking changes in this release.
Packages with other changes:
-
2.0.319 Feb 2024Release notes
Open source →- REFACTOR: added topics to context_plus, context_ref, context_watch.
2024-02-19
Changes
Packages with breaking changes:
- There are no breaking changes in this release.
Packages with other changes:
-
2.0.219 Feb 2024Release notes
Open source →- REFACTOR: pubspec.yaml: Updated homepage/repository with proper branch name.
-
2.0.118 Feb 2024Release notes
Open source →- DOCS: updated README.md.
2024-02-26
Changes
Packages with breaking changes:
Packages with other changes:
-
2.0.018 Feb 2024Release notes
Open source →- REFACTOR: applied Dart 3.7 formatting.
- DOCS: Enhance README files for context_plus, context_ref, and context_watch with improved descriptions and examples.
- DOCS: Update README badges to reflect download metrics for context_plus, context_ref, and context_watch.
- BREAKING FEAT: watch*() on Listenable/ValueListenable is even more convenient now!
-
2.0.0-dev.524 Dec 2023 pre-release -
2.0.0-dev.409 Dec 2023 pre-releaseRelease notes
Open source →Stream.watch()andFuture.watch()now returnAsyncSnapshot, just likeStreamBuilderandFutureBuilderdo- Performance improvements
- Added example app with benchmarks
- Extracted InheritedContextWatch into a separate package to make it possible to create context watchers for custom observable types
-
2.0.0-dev.305 Dec 2023 pre-releaseNothing published for this version
-
2.0.0-dev.205 Dec 2023 pre-releaseNothing published for this version
-
2.0.0-dev.105 Dec 2023 pre-releaseNothing published for this version
-
1.0.227 Nov 2023Release notes
Open source →- FIX: dispose all binding when root widget is removed from the tree. Fixes #27.
-
1.0.127 Nov 2023Release notes
Open source →- REFACTOR: ContextPlusFrameInfo.isWarmupFrame.
- FIX: don't pre-increment ContextPlusFrameInfo.currentFrameId for a warmup frame.
Release notes
Open source →- Added back a workaround for https://github.com/flutter/flutter/issues/128432 to loosen Flutter SDK version constraint.
-
1.0.012 Nov 2023Release notes
Open source →2024-03-12
Changes
Packages with breaking changes:
- There are no breaking changes in this release.
Packages with other changes:
Packages with dependency updates only:
Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.
context_plus-v2.2.1
Release notes
Open source →- Initial release.
Listenable.watch(context),Stream.watch(context)extensions.