watch method
Get TController
while monitoring with widgets related to ref
in the same way as ref.app.controller
.
TController
is retained in the app scope.
ref.app.controller
と同じようにref
に関連するウィジェットで監視を行いつつTController
を取得します。
アプリスコープでTController
が保持されます。
Implementation
TController watch(RefHasApp ref) {
return ref.app.controller(this);
}