ProxyNotifier2<T, L1, L2> constructor

ProxyNotifier2<T, L1, L2>(
  1. L1 l1,
  2. L2 l2,
  3. T getValue(
    1. L1 l1,
    2. L2 l2
    ), {
  4. bool? concurrent = false,
})

Transforms a pair of values into a ValueListenable.

At least 1 of these two values should be a Listenable, so that the ProxyNotifier knows when to send its own notifications.

Implementation

ProxyNotifier2(this.l1, this.l2, this.getValue, {super.concurrent})
  : super(ProxyListenable(l1, l2), value: getValue(l1, l2));