Observer2<T, T2> constructor

Observer2<T, T2>(
  1. IObservable<T> observable,
  2. IObservable<T2> observable2,
  3. Widget? builder(
    1. T v1,
    2. T2 v2
    ), {
  4. Key? key,
})

Implementation

factory Observer2(IObservable<T> observable, IObservable<T2> observable2,
    Widget? Function(T v1, T2 v2) builder,
    {Key? key}) {
  return Observer2.context(observable, observable2, (context, v1, v2) {
    return builder(v1, v2);
  }, key: key);
}