context_plus 6.0.5
context_plus: ^6.0.5 copied to clipboard
Convenient value propagation and observing for Flutter. Utilize existing reactive value types more easily and with less boilerplate.
6.0.5 #
- Update a dependency to the latest release.
6.0.4 #
- Update a dependency to the latest release.
6.0.3 #
- Update a dependency to the latest release.
6.0.2 #
- Update a dependency to the latest release.
6.0.1 #
- Update a dependency to the latest release.
6.0.0 #
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.
Easy to use, universal hooks are here!
- FEAT:
context.use() - FEAT: Added
context.vsyncto be used together withcontext.use()for accessing aTickerProviderinstance for this context. - REFACTOR: Significant internal code changes aimed at maximizing the performance and unifying the logic for attaching data to a
BuildContextamong allcontext_*packages.
5.0.0 #
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)andRef<TListenable>.watch(context)now returnTListenableinstead ofvoidValueListenable<T>.watchOnly()/.watchEffect()andRef<ValueListenable<T>>.watchOnly()/.watchEffect()now provideTinstead ofTListenableas a value
-
DOCS: README improvements
4.1.4 #
- Update a dependency to the latest release.
4.1.3 #
- Update a dependency to the latest release.
4.1.2 #
- Update a dependency to the latest release.
4.1.1 #
- Update a dependency to the latest release.
4.1.0 #
- FEAT: Multi-value watching via (ref1, ref2, ...).watch*(context).
4.0.2 #
- DOCS: README.md update.
4.0.1 #
- DOCS: README.md update.
4.0.0 #
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.
3.0.0 #
Note: This release has breaking changes.
-
BREAKING FEAT: goodbye,
context.unwatch()!All cases of conditional
.watch()'ing are now handled automatically.
2.3.1 #
- DOCS: removed outdated doc comment for Listenable.watch().
2.3.0 #
- FEAT: async_listenable support integration.
- FIX: proper handling of synchronous new value notifications during build().
2.2.2 #
- Update a dependency to the latest release.
2.2.1 #
- Update a dependency to the latest release.
2.2.0 #
- FEAT: Added a simplified way of binding the TickerProvider-dependent controllers.
2.1.2 #
- Update a dependency to the latest release.
2.1.1 #
- Update a dependency to the latest release.
2.1.0 #
- FEAT: context.unwatch() upon Ref.bind(), Ref.bindLazy(), Ref.bindValue().
- DOCS: Added Ref.bind(), Ref.bindLazy(), Ref.bindValue() to the comparison table.
2.0.1 #
- DOCS: updated README.md.
2.0.0 #
Note: This release has breaking changes.
- BREAKING CHANGE: Removed
Ref<ValueListenable>.watchValue()andRef<ValueListenable>.watchValueOnly().Ref<ValueListenable>.watch()now returns the value,Ref<Listenable>.watch()now returns void.
1.0.4 #
- Update a dependency to the latest release.
1.0.3 #
- REFACTOR: added topics to context_plus, context_ref, context_watch.
1.0.2 #
- REFACTOR: pubspec.yaml: Updated homepage/repository with proper branch name.
1.0.1 #
- REFACTOR: updated Flutter SDK constraint.
1.0.0 #
- Initial release.