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

A hassle-free way to provide and retrieve values for a BuildContext

2.0.0 #

Note: This release has breaking changes.

  • BREAKING: Increased required Dart version to 3.7.0

1.4.4 #

  • FIX: allow .bind*() inside LayoutBuilder.
  • FIX: rebuild dependent widgets upon the key change in .bind(key: ).

1.4.3 #

  • FIX: added an assert to enforce that bind*() is not called outside the build() method of a BuildContext.

1.4.2 #

  • FIX: fixed a rare case where re-activated Element could lose its Ref providers.

1.4.1 #

  • DOCS: README.md update.

1.4.0 #

  • FEAT: improve rebuild scheduling for .bindValue().
  • FEAT: Ref.bind<AnimationController?>() support.

1.3.0 #

  • FEAT: Per-element equality checks for List, Set and Map keys Ref.bind(key: ...).

1.2.0 #

  • FEAT: Added a simplified way of binding the TickerProvider-dependent controllers.

1.1.0 #

  • FEAT: Element re-parenting support.

1.0.4 #

  • REFACTOR: extension-based API for both Ref and ReadOnlyRef.

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.
13
likes
150
points
7.48k
downloads

Publisher

verified publishersonerik.dev

Weekly Downloads

A hassle-free way to provide and retrieve values for a BuildContext

Repository (GitHub)
View/report issues

Topics

#reactive #ui #state-management #extension

Documentation

API reference

License

MIT (license)

Dependencies

flutter, meta

More

Packages that depend on context_ref