WidgetUtils<T> extension

@macro WidgetUtils

on

Methods

observe(BuildContext context, ObserverCallback<T> callback) → void

Available on BaseBeacon<T>, provided by the WidgetUtils extension

Observes the state of a beacon and triggers a callback with the current state.
watch(BuildContext context) → T

Available on BaseBeacon<T>, provided by the WidgetUtils extension

Watches a beacon and triggers a widget rebuild when its value changes.