watch4<A, B, C, D> static method

Widget watch4<A, B, C, D>(
  1. Reactive<A> a,
  2. Reactive<B> b,
  3. Reactive<C> c,
  4. Reactive<D> d,
  5. Widget builder(
    1. A a,
    2. B b,
    3. C c,
    4. D d,
    ), {
  6. Key? key,
})

Build a widget from four explicit reactive values.

Implementation

static Widget watch4<A, B, C, D>(
  Reactive<A> a,
  Reactive<B> b,
  Reactive<C> c,
  Reactive<D> d,
  Widget Function(A a, B b, C c, D d) builder, {
  Key? key,
}) {
  return ReactiveBuilder(
    () => builder(a.value, b.value, c.value, d.value),
    key: key,
  );
}