chat_core/chat_controller/scroll_to_message_mixin library

Mixins

ScrollToMessageMixin
A mixin for ChatController implementations that adds programmatic scrolling capabilities.

Typedefs

ScrollToIndex = Future<void> Function(int index, {double alignment, Curve curve, Duration duration, double offset})
Signature for a function that scrolls the chat list to a specific index.
ScrollToMessageId = Future<void> Function(MessageID messageId, {double alignment, Curve curve, Duration duration, double offset})
Signature for a function that scrolls the chat list to a specific message ID.