ChatBubble class

Constructors

ChatBubble({Color? color, BorderRadiusGeometry? borderRadius, TextStyle? textStyle, EdgeInsetsGeometry? padding, EdgeInsetsGeometry? margin, LinkPreviewConfiguration? linkPreviewConfig, TextStyle? senderNameTextStyle, ReceiptsWidgetConfig? receiptsWidgetConfig, dynamic onMessageRead(Message message)?})
const

Properties

borderRadius BorderRadiusGeometry?
Used for giving border radius of chat bubble.
final
color Color?
Used for giving color of chat bubble.
final
hashCode int
The hash code for this object.
no setterinherited
linkPreviewConfig LinkPreviewConfiguration?
Used to provide configuration of messages with link.
final
margin EdgeInsetsGeometry?
Used for giving margin of chat bubble.
final
onMessageRead → dynamic Function(Message message)?
Callback when a message has been displayed for the first time only
final
padding EdgeInsetsGeometry?
Used for giving padding of chat bubble.
final
receiptsWidgetConfig ReceiptsWidgetConfig?
Used to provide builders for last seen message reciept, at latest outgoing messsage.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
senderNameTextStyle TextStyle?
Used to give text style of message sender name.
final
textStyle TextStyle?
Used for giving text style of chat bubble.
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