onScrollToTop property

Future<void> Function()? onScrollToTop
final

Callback function called when the user scrolls to the top.

This is typically used to load older messages in a paginated fashion.

Implementation

final Future<void> Function()? onScrollToTop;