ScrollToUnreadOptions class

Annotations

Constructors

ScrollToUnreadOptions({String? lastReadMessageId, Duration scrollDelay = const Duration(milliseconds: 150), Duration scrollDuration = scrollAnimationDuration, bool scrollOnOpen = false})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
lastReadMessageId String?
Will show an unread messages header after this message if there are more messages to come and will scroll to this header on ChatState.scrollToUnreadHeader.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollDelay Duration
Duration to wait after open until the scrolling starts.
final
scrollDuration Duration
Duration for the animation of the scrolling.
final
scrollOnOpen bool
Whether to scroll to the first unread message on open.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited