watch method

(AsyncSnapshot<T0>, AsyncSnapshot<T1>, AsyncSnapshot<T2>, TListenable3) watch(
  1. BuildContext context
)

Watch all observables for changes.

Whenever any observable notifies of a change, the context will be rebuilt.

Returns current values for each observable.

It is safe to call this method multiple times within the same build method.

Implementation

(AsyncSnapshot<T0>, AsyncSnapshot<T1>, AsyncSnapshot<T2>, TListenable3) watch(BuildContext context) =>
    ($1.watch(context), $2.watch(context), $3.watch(context), $4.watch(context),);