Skip to content

Glossary: Flutter

watch

Also written: ref.watch, ref.read

Reading a provider so the widget rebuilds when it changes: `ref.watch` in `build`. In callbacks use `ref.read`, which reads once without watching.

Where the book teaches it

Related terms

providerConsumerWidgetselect