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