combineLatest<B, C> method

ValueListenable<C> combineLatest<B, C>(
  1. ValueListenable<B> other,
  2. BinaryFunction<A, B, C> transform
)

Creates a new ValueListenable from the given two, using the given transform function, updating its value every time any of the two base notifiers change.

Implementation

ValueListenable<C> combineLatest<B, C>(
  ValueListenable<B> other,
  BinaryFunction<A, B, C> transform,
) =>
    _CombineLatestValueNotifier(this, other, transform);