RepliedMsgAutoScrollConfig constructor
const
RepliedMsgAutoScrollConfig({
- bool enableHighlightRepliedMsg = true,
- bool enableScrollToRepliedMsg = true,
- Color highlightColor = Colors.grey,
- Duration highlightDuration = const Duration(milliseconds: 500),
- double highlightScale = 1.1,
- Duration highlightScrollDuration = const Duration(milliseconds: 300),
- 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,
});