MessageBubbleStyle class

MessageBubbleStyle is a data class that has styling-related properties to customize the appearance of CometChatMessageBubble

Inheritance

Constructors

MessageBubbleStyle({double? width, double? height, Color? background, BoxBorder? border, double? borderRadius, Gradient? gradient, double? elevation, BorderRadiusGeometry? borderRadiusGeometry, double? widthFlex, EdgeInsets? contentPadding})
MessageBubbleStyle constructor requires width, height, background, border, borderRadius, elevation, borderRadiusGeometry, gradient and contentPadding while initializing.
const

Properties

background → Color?
background provides background color to the widget
finalinherited
border → BoxBorder?
border provides border around the widget
finalinherited
borderRadius → double?
borderRadius provides radius to the border around the widget
finalinherited
borderRadiusGeometry → BorderRadiusGeometry?
borderRadiusGeometry
finalinherited
contentPadding → EdgeInsets?
contentPadding sets padding for the bubble
final
elevation → double?
elevation
finalinherited
gradient → Gradient?
gradient provides (background) gradient to the widget
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
height → double?
height provides height to the widget
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
width → double?
width provides width to the widget
finalinherited
widthFlex → double?
widthFlex gives flex to the message 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