ScrollToUnreadOptions constructor

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

Implementation

const ScrollToUnreadOptions({
  this.lastReadMessageId,
  this.scrollDelay = const Duration(milliseconds: 150),
  this.scrollDuration = scrollAnimationDuration,
  this.scrollOnOpen = false,
});