Chat class

Inheritance

Constructors

Chat({Key? key, required Config config, required User user, String? backgroundImage, BoxDecoration? dateBoxDecoration, Map<String, dynamic>? customData, TextStyle? dateTextStyle, TextStyle? messageTextStyle, Color? emojiIconColor, Color? attachmentIconColor, Color? attachmentModalBgColor, Color? micActiveIconColor, Color? micInActiveIconColor, Color? micSendBgColor, Color? sendIconColor, TextStyle? hintStyle, TextStyle? appBarTitleStyle, Color? appBarBgColor, Gradient? appBarGradientBgColor, IconThemeData? appBarIconTheme, Color? loaderColor, bool? appBarCenterTitle, BoxDecoration? backgroundDecoration, BoxDecoration? feedBackContainerDecoration, Color? feedBackActiveColor, Color? feedBackInActiveColor, Color? feedbackTextActiveColor, Color? feedbackTextInActiveColor, Color? deleteVoiceMessageIconColor, Color? sendVoiceMessageIconColor, Color? messageBoxBgColor, dynamic downloadAudio({required dynamic stopLoading(), required String url})?, dynamic downloadVideo({required dynamic stopLoading(), required String url})?, dynamic downloadFile({required dynamic stopLoading(), required String url})?, dynamic downloadImage({required dynamic stopLoading(), required String url})?, dynamic chatStyle})

Properties

appBarBgColor Color?
final
appBarCenterTitle bool?
final
appBarGradientBgColor Gradient?
final
appBarIconTheme IconThemeData?
final
appBarTitleStyle TextStyle?
final
attachmentIconColor Color?
final
attachmentModalBgColor Color?
final
backgroundDecoration BoxDecoration?
final
backgroundImage String?
final
chatStyle ChatStyle
final
config Config
final
customData Map<String, dynamic>?
final
dateBoxDecoration BoxDecoration?
final
dateTextStyle TextStyle?
final
deleteVoiceMessageIconColor Color?
final
downloadAudio → dynamic Function({required dynamic stopLoading(), required String url})?
final
downloadFile → dynamic Function({required dynamic stopLoading(), required String url})?
final
downloadImage → dynamic Function({required dynamic stopLoading(), required String url})?
final
downloadVideo → dynamic Function({required dynamic stopLoading(), required String url})?
final
emojiIconColor Color?
final
feedBackActiveColor Color?
final
feedBackContainerDecoration BoxDecoration?
final
feedBackInActiveColor Color?
final
feedbackTextActiveColor Color?
final
feedbackTextInActiveColor Color?
final
hashCode int
The hash code for this object.
no setterinherited
hintStyle TextStyle?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
loaderColor Color?
final
messageBoxBgColor Color?
final
messageTextStyle TextStyle?
final
micActiveIconColor Color?
final
micInActiveIconColor Color?
final
micSendBgColor Color?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendIconColor Color?
final
sendVoiceMessageIconColor Color?
final
user User
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<Chat>
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