canGoToPreviousPage property
bool
get
canGoToPreviousPage
Whether there is a previous page. For cursor pagination, checks if there's cursor history. For offset pagination, checks if page > 1.
Implementation
bool get canGoToPreviousPage => cursorHistory.isNotEmpty || page > 1;