value_listenable_extensions 1.2.1 copy "value_listenable_extensions: ^1.2.1" to clipboard
value_listenable_extensions: ^1.2.1 copied to clipboard

Useful tools for working with `ValueListenable`s.

1.2.1 #

  • Add DisposableValueListenable.transform to fully consume and map one value listenable into another
    • When the new one is disposed, the underlying source will be disposed with it
  • Allow specifying custom dispose callback for combineLatest* functions
  • Use DisposableValueListenable from shared package disposable_value_listenable

1.2.0 #

  • Add StaticValueListenable for when one wants to use a static value with combineLatest or in a CombinedValueListenable
    • This enables the mapper function to stay clean and not having to use anything besides their given arguments

1.1.1 #

  • Expose CombinedValueListenable

1.1.0 #

  • Add CombinedValueListenable to build classes based on the combineLatest* logic

1.0.1 #

  • Add examples to the README

1.0.0 #

  • Add connect, listen, and map extensions for ValueListenable
  • Add combineLatest* helpers to create a new ValueListenable from a number of inputs
2
likes
140
points
698
downloads

Publisher

verified publisherlunaone.de

Weekly Downloads

Useful tools for working with `ValueListenable`s.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

disposable_value_listenable, flutter, meta

More

Packages that depend on value_listenable_extensions