isFetching property
bool
get
isFetching
Returns true if ANY query is currently fetching data from the network.
Reactive: Reading this inside a ZenObserver or computed property registers a dependency and auto-rebuilds the widget whenever query fetch activity starts or stops.
Example:
ZenObserver(() => Zen.isFetching ? const LinearProgressIndicator() : const SizedBox.shrink())
Implementation
static bool get isFetching => ZenQuery.anyFetching;