onScroll property
Callback when the suggestions are scrolled The callback returns the current scroll position in pixels and the maximum scroll extent of the suggestions list. The callback can be used to implement feature like lazy loading of suggestions. see example in example/lib/pagination
Implementation
final void Function(double, double)? onScroll;