isRefreshing property

bool isRefreshing

Whether the associated pod was forced to recompute even though none of its dependencies has changed, after at least one value/error was emitted.

This is usually the case when rebuilding a pod with either refresh.

If a pod rebuilds because one of its dependencies changes, then isRefreshing will be false, and instead isReloading will be true.

Implementation

bool get isRefreshing =>
    isLoading && (hasValue || hasError) && this is! AsyncLoading;