untrack<T> method
T
untrack<T>(
- T fn()
Executes fn without tracking any reactive Rx or ListNotifier reads
in the enclosing Obx, ObxValue, or Computed scope.
Implementation
T untrack<T>(T Function() fn) {
final oldData = _notifyData;
_notifyData = null;
try {
return fn();
} finally {
_notifyData = oldData;
}
}