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

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

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.
12
likes
160
pub points
52%
popularity

Publisher

verified publishersonerik.dev

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