MessageText class

Inheritance

Constructors

MessageText({Key? key, required String interactionId, required String fileStore, required User user, required TextStyle hintStyle, Color? micSendBgColor, Color? sendIconColor, Color? emojiIconColor, Color? attachmentIconColor, Color? micActiveIconColor, Color? micInActiveIconColor, Color? sendVoiceMessageIconColor, Color? deleteVoiceMessageIconColor, Color? messageBoxBgColor, Color? attachmentModalBgColor, required TextStyle messageTextStyle, required String appId, required dynamic onFirstMessage(Message message, String type), required HiveStore store, required dynamic onMessageSend(Message message), required dynamic onAttachmentModalChanged(bool value), required bool displayAttachmentModal, required dynamic onEmojiModalChanged(bool value), required bool displayEmojiModal})
const

Properties

appId String
final
attachmentIconColor Color?
final
attachmentModalBgColor Color?
final
deleteVoiceMessageIconColor Color?
final
displayAttachmentModal bool
final
displayEmojiModal bool
final
emojiIconColor Color?
final
fileStore String
final
hashCode int
The hash code for this object.
no setterinherited
hintStyle TextStyle
final
interactionId String
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
messageBoxBgColor Color?
final
messageTextStyle TextStyle
final
micActiveIconColor Color?
final
micInActiveIconColor Color?
final
micSendBgColor Color?
final
onAttachmentModalChanged → dynamic Function(bool value)
final
onEmojiModalChanged → dynamic Function(bool value)
final
onFirstMessage → dynamic Function(Message message, String type)
final
onMessageSend → dynamic Function(Message message)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendIconColor Color?
final
sendVoiceMessageIconColor Color?
final
store HiveStore
final
user User
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<MessageText>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited