sitesurface_flutter_chat
library
Classes
-
ChatDelegate
-
You can override almost each part of the UI provided by the package by overriding methods of this class
-
ChatHandler
-
Wrap your widget with this widget and pass the required parameter userId to get started.
If you are using the default widgets i.e., you have not overidden any UI in ChatDelegate then it is
required to pass name and profilePic.
-
ChatHandlerState
-
-
ChatL10n
-
Base chat l10n containing all required properties to provide localized copy.
Extend this class if you want to create a custom l10n.
-
ChatListWidget
-
This widget shows list of all active chats . User can click on the chat and will be pushed to chatting page.
-
ChatTheme
-
Base chat theme containing all required properties to make a theme.
Extend this class if you want to create a custom theme.
-
DefaultChatTheme
-
Default chat theme which extends ChatTheme.
-
EnChatL10n
-
-
Group
-
When two users chat a new group is created. You can modify the custom data
data
of group using updateGroupData
of ChatDelegate.
-
Message
-
Object of message which is sent by user. All types of messages(text,location,image) are saved in this object only.
-
SfcAppBar
-
Default app bar which is displayed in chatting page. You can override
chatAppbarBuilder
in ChatDelegate and
return SfcAppBar with your own custom actions.
-
SfcLatLng
-
class for saving coordinated
-
UnreadMessageCountWidget
-
-
User
-
Object of user. You can update the user using
updateUserData
funtion of ChatDelegate.