canFetchNext property
Determines whether more data can be fetched when scrolling forward.
If this method returns false, it is determined that data fetching has ended, fetchNext is not executed, and no further data will be fetched.
index
is the starting index of the data to be fetched next.
For example, if data 0-19 is currently displayed, the next data will be fetched starting from 20.
Implementation
final bool Function(int index)? canFetchNext;