HighQChat class

Inheritance

Constructors

HighQChat({Key? key, required ChatController chatController, required ChatUser currentUser, StringMessageCallBack? onSendTap, ProfileCircleConfiguration? profileCircleConfig, ChatBubbleConfiguration? chatBubbleConfig, RepliedMessageConfiguration? repliedMessageConfig, SwipeToReplyConfiguration? swipeToReplyConfig, ReplyPopupConfiguration? replyPopupConfig, ReactionPopupConfiguration? reactionPopupConfig, VoidCallBackWithFuture? loadMoreData, Widget? loadingWidget, MessageConfiguration? messageConfig, bool? isLastPage, Widget? appBar, ChatBackgroundConfiguration? chatBackgroundConfig, TypeIndicatorConfiguration? typeIndicatorConfig, ReplyMessageWithReturnWidget? sendMessageBuilder, bool showTypingIndicator = false, SendMessageConfiguration? sendMessageConfig, required HighQChatState highQChatState, HighQChatStateConfiguration? highQChatStateConfig, FeatureActiveConfig featureActiveConfig = const FeatureActiveConfig()})
const

Properties

appBar Widget?
Provides parameter so user can assign HighQChatAppbar.
final
chatBackgroundConfig ChatBackgroundConfiguration
Allow user to give customisation to background of chat
final
chatBubbleConfig ChatBubbleConfiguration?
Provides configurations related to chat bubble such as padding, margin, max width etc.
final
chatController ChatController
Provides controller for accessing few function for running chat.
final
currentUser ChatUser
Provides current user which is sending messages.
final
featureActiveConfig FeatureActiveConfig
Provides configuration for turn on/off specific features.
final
hashCode int
The hash code for this object.
no setterinherited
highQChatState HighQChatState
Provides current state of chat.
final
highQChatStateConfig HighQChatStateConfiguration?
Provides configuration for chat view state appearance and functionality.
final
isLastPage bool?
Provides flag if there is no more next data left in list.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
loadingWidget Widget?
Provides widget for loading view while pagination is enabled.
final
loadMoreData VoidCallBackWithFuture?
Provides callback when user actions reaches to top and needs to load more chat
final
messageConfig MessageConfiguration?
Allow user to giving customisation different types messages.
final
onSendTap StringMessageCallBack?
Provides call back when user tap on send button in text field. It returns message, reply message and message type.
final
profileCircleConfig ProfileCircleConfiguration?
Provides configuration related to user profile circle avatar.
final
reactionPopupConfig ReactionPopupConfiguration?
Provides configuration for reaction pop up appearance.
final
repliedMessageConfig RepliedMessageConfiguration?
Provides configuration for replied message view which is located upon chat bubble.
final
replyPopupConfig ReplyPopupConfiguration?
Provides configuration for reply snack bar's appearance and options.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendMessageBuilder ReplyMessageWithReturnWidget?
Provides builder which helps you to make custom text field and functionality.
final
sendMessageConfig SendMessageConfiguration?
Provides configuration of default text field in chat.
final
showTypingIndicator bool
Allow user to show typing indicator.
final
swipeToReplyConfig SwipeToReplyConfiguration?
Provides configurations related to swipe chat bubble which triggers when user swipe chat bubble.
final
typeIndicatorConfig TypeIndicatorConfiguration?
Allow user to giving customisation typing indicator.
final

Methods

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