RepliedMsgAutoScrollConfig constructor

const RepliedMsgAutoScrollConfig({
  1. bool enableHighlightRepliedMsg = true,
  2. bool enableScrollToRepliedMsg = true,
  3. Color highlightColor = Colors.grey,
  4. Duration highlightDuration = const Duration(milliseconds: 500),
  5. double highlightScale = 1.1,
  6. Duration highlightScrollDuration = const Duration(milliseconds: 300),
  7. Curve highlightScrollCurve = Curves.easeIn,
})

Configuration for auto scrolling and highlighting a message when tapping on the original message above the replied message.

Implementation

const RepliedMsgAutoScrollConfig({
  this.enableHighlightRepliedMsg = true,
  this.enableScrollToRepliedMsg = true,
  this.highlightColor = Colors.grey,
  this.highlightDuration = const Duration(milliseconds: 500),
  this.highlightScale = 1.1,
  this.highlightScrollDuration = const Duration(milliseconds: 300),
  this.highlightScrollCurve = Curves.easeIn,
});