MessageComposerStyle class
MessageComposerStyle is a data class that has styling-related properties to customize the appearance of CometChatMessageComposer
- Inheritance
-
- Object
- BaseStyles
- MessageComposerStyle
Constructors
- MessageComposerStyle({Color? inputBackground, TextStyle? inputTextStyle, Gradient? inputGradient, TextStyle? placeholderTextStyle, Widget? sendButtonIcon, Color? attachmentIconTint, Color? sendButtonIconTint, Color? closeIconTint, Color? dividerTint, Color? voiceRecordingIconTint, EdgeInsetsGeometry? contentPadding, Color? aiIconTint, EdgeInsets? messageInputPadding, double? width, double? height, Color? background, BoxBorder? border, double? borderRadius, Gradient? gradient})
-
const
Properties
- aiIconTint → Color?
-
aiIconTint sets the tint to ai icon
final
- attachmentIconTint → Color?
-
attachmentIconTint provides color to the attachment Icon/widget
final
- 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
- closeIconTint → Color?
-
closeIconTint provides color to the close Icon/widget
final
- contentPadding → EdgeInsetsGeometry?
-
contentPadding sets the content padding for message composer
final
- dividerTint → Color?
-
dividerTint provides color to the divider
final
- 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
- inputBackground → Color?
-
inputBackground background color of text field
final
- inputGradient → Gradient?
-
inputGradient provides gradient background to the input field
final
- inputTextStyle → TextStyle?
-
inputTextStyle provides style to input text
final
- messageInputPadding → EdgeInsets?
-
messageInputPadding sets the padding to the message input field
final
- placeholderTextStyle → TextStyle?
-
placeholderTextStyle hint text style
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sendButtonIcon → Widget?
-
sendButtonIcon custom send button icon
final
- sendButtonIconTint → Color?
-
sendButtonIconTint provides color to the sendButton Icon/widget
final
- voiceRecordingIconTint → Color?
-
voiceRecordingIconTint provides color to the voice recording icon
final
- width → double?
-
width provides width to the widget
finalinherited
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