needsPaging property
bool
get
needsPaging
If needs a paging controller.
If totalPages is 1, returns false.
Implementation
bool get needsPaging {
var totalPages = this.totalPages;
return totalPages != null && totalPages != 1;
}