chat library

Syncfusion Flutter Chat package is a UI library designed to help you create a robust chat application within your Flutter projects with highly customized options.

To use, import package:syncfusion_flutter_chat/chat.dart;

See also:

Classes

ChatActionButton
A customizable action button for chat interactions.
ChatAuthor
Represents the author of a chat message.
ChatBubbleSettings
Customizes chat bubbles with these settings for a better user experience.
ChatComposer
A widget for composing chat messages.
ChatMessage
Represents a chat message.
ChatMessageSuggestion
Represents a chat message suggestion.
ChatSuggestionSettings
Represents the settings for chat message suggestions.
SfChat
The SfChat widget is a customizable chat interface designed for one-on-one or group conversations.

Enums

ChatSuggestionOverflow
Mode to handle the chat Suggestion items overflow.
ChatSuggestionSelectionType
Represents a selection mode of the suggestion, it will be either single or multiple.

Typedefs

ChatSuggestionItemSelectedCallback = void Function(bool selected, int messageIndex, ChatMessageSuggestion suggestion, int suggestionIndex)
The ChatSuggestionItemSelectedCallback typedef represents a callback function that is called when a chat suggestion item is selected. It takes a selected flag, the messageIndex for the message, the suggestion being interacted with, and the suggestionIndex indicating the position of the suggestion.
ChatWidgetBuilder = BaseWidgetBuilder<ChatMessage>
The ChatWidgetBuilder typedef defines a function signature for creating custom chat message widgets. It takes a BuildContext, an index for the message position, and a ChatMessage object as parameters, and returns a Widget to customize how chat messages are displayed.