context_plus 6.0.5 copy "context_plus: ^6.0.5" to clipboard
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.vsync to be used together with context.use() for accessing a TickerProvider instance for this context.
  • REFACTOR: Significant internal code changes aimed at maximizing the performance and unifying the logic for attaching data to a BuildContext among all context_* 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) and Ref<TListenable>.watch(context) now return TListenable instead of void
    • ValueListenable<T>.watchOnly()/.watchEffect() and Ref<ValueListenable<T>>.watchOnly()/.watchEffect() now provide T instead of TListenable as 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 InheritedContextWatch and ContextWatcher had changed significantly and the behavior of watchOnly() 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() and Ref<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.
22
likes
150
points
8.42k
downloads

Publisher

verified publishersonerik.dev

Weekly Downloads

Convenient value propagation and observing for Flutter. Utilize existing reactive value types more easily and with less boilerplate.

Repository (GitHub)

Topics

#reactive #ui #state-management #extension

Documentation

API reference

License

MIT (license)

Dependencies

context_ref, context_watch, context_watch_base, flutter

More

Packages that depend on context_plus