ReceiptsWidgetConfig class

Constructors

ReceiptsWidgetConfig({Widget receiptsBuilder(MessageStatus status)?, Widget lastSeenAgoBuilder(Message message, String formattedDate)?, ShowReceiptsIn showReceiptsIn = ShowReceiptsIn.lastMessage})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
lastSeenAgoBuilder → (Widget Function(Message message, String formattedDate)?)
Just like Instagram messages receipts are displayed at the bottom of last message. If in case you want to modify it using your custom widget you can utilize this function.
final
receiptsBuilder → (Widget Function(MessageStatus status)?)
The builder that builds widget that right next to the senders message bubble. Right now it's implemented to show animation only at the last message just like instagram. By default sendMessageAnimationBuilder
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showReceiptsIn ShowReceiptsIn
Whether to show receipts in all messages or not defaults to ShowReceiptsIn.lastMessage
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