onScrollToTop property

Future<void> Function()? onScrollToTop
final

Called when the user reaches the oldest end of the list, typically to load older messages.

Also called when the messages do not fill the screen yet, repeatedly after each update until they do. Calls are debounced while the returned future is pending.

Implementation

final Future<void> Function()? onScrollToTop;