ReactiveWatch<T extends ReactiveModel> extension

===================================================== Extension on ReactiveModel for ergonomic watch

on
  • T

Methods

watch(Widget builder(T model), {List<Symbol>? fields}) Widget

Available on T, provided by the ReactiveWatch extension

Watch the entire model (object-wise) or specific fields
watchComputed<R>(R compute(), Widget builder(R value)) Widget

Available on T, provided by the ReactiveWatch extension

Watch a computed value derived from this model
watchField(Symbol field, Widget builder()) Widget

Available on T, provided by the ReactiveWatch extension

Watch a specific field on this model