MessageListOptions class Customization

Constructors

MessageListOptions({bool showDateSeparator = true, DateFormat? dateSeparatorFormat, Widget dateSeparatorBuilder(DateTime date)?, SeparatorFrequency separatorFrequency = SeparatorFrequency.days, ScrollController? scrollController, Widget? chatFooterBuilder, bool showFooterBeforeQuickReplies = false, Widget? loadEarlierBuilder, Future<void> onLoadEarlier()?, Widget typingBuilder(ChatUser user)?, ScrollPhysics? scrollPhysics})
const

Properties

chatFooterBuilder → Widget?
A widget to show at the bottom of the chat (between the input and the chat content)
final
dateSeparatorBuilder → Widget Function(DateTime date)?
If you want to create you own separator widget You can use DefaultDateSeparator to only override some variables
final
dateSeparatorFormat → DateFormat?
The formatting of the date in the date separator. By default it will adapt according to the difference with today
final
hashCode → int
The hash code for this object.
no setterinherited
loadEarlierBuilder → Widget?
If you want to show a widget when the top of the list is reached
final
onLoadEarlier → Future<void> Function()?
Function to call when the top of the list is reached Useful to load more messages
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scrollController → ScrollController?
Scroll controller of the list of message
final
scrollPhysics → ScrollPhysics?
Scroll physics of the ListView
final
separatorFrequency → SeparatorFrequency
The frequency of the separator
final
showDateSeparator → bool
If you want to who a date separator between messages of different dates
final
showFooterBeforeQuickReplies → bool
If you want to show chatFooterBuilder before or after the quick replies
final
typingBuilder → Widget Function(ChatUser user)?
Builder to create your own typing widget
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