watch method
Get FormController<TModel> while monitoring it with the widget associated with ref
in the same way as ref.page.controller
.
ref.page.controller
と同じようにref
に関連するウィジェットで監視を行いつつFormController<TModel>を取得します。
Implementation
FormController<TModel> watch(
RefHasApp ref, {
bool? autoDisposeWhenUnreferenced,
}) {
return ref.app.form(
this,
autoDisposeWhenUnreferenced: autoDisposeWhenUnreferenced,
);
}