status property
PagingStatus
get
status
The current pagination status.
Implementation
PagingStatus get status {
if (_isRefreshing) {
return PagingStatus.refreshing;
}
if (_isOngoing) {
return PagingStatus.ongoing;
}
if (_isCompleted) {
return PagingStatus.completed;
}
if (_isLoadingFirstPage) {
return PagingStatus.loadingFirstPage;
}
if (_hasSubsequentPageError) {
return PagingStatus.subsequentPageError;
}
if (_isEmpty) {
return PagingStatus.noItemsFound;
} else {
return PagingStatus.firstPageError;
}
}