getMoreItems property

(FutureOr<Map<String, Widget>> Function(String text, int page)?) getMoreItems
final

If provided when scroll controller hits the end will be called to get more items

page will start from 2

If caSearch is true: called each time users stop write for more than 800 ms

If text is not empty page will restartet from 1. Empty page number is cached

If result is empty page will not be incremented

Implementation

final FutureOr<Map<String, Widget>> Function(String text, int page)? getMoreItems;