flutter_chat_ui library

Classes

AttachmentButton
A class that represents attachment button widget
Chat
Entry widget, represents the complete chat
ChatL10n
Base chat l10n containing all required variables to provide localized copy. Extend this class if you want to create a custom l10n.
ChatL10nEn
English l10n which extends ChatL10n
ChatL10nEs
Spanish l10n which extends ChatL10n
ChatL10nPl
Polish l10n which extends ChatL10n
ChatL10nRu
Russian l10n which extends ChatL10n
ChatL10nUk
Ukrainian l10n which extends ChatL10n
ChatTheme
Base chat theme containing all required variables to make a theme. Extend this class if you want to create a custom theme.
DarkChatTheme
Dark chat theme which extends ChatTheme
DefaultChatTheme
Default chat theme which extends ChatTheme
FileMessage
A class that represents file message widget
ImageMessage
A class that represents image message widget. Supports different aspect ratios, renders blurred image as a background which is visible if the image is narrow, renders image in form of a file if aspect ratio is very small or very big.
Input
A class that represents bottom bar widget with a text field, attachment and send buttons inside. Hides send button when text field is empty.
Message
Base widget for all message types in the chat. Renders bubbles around messages, delivery time and status. Sets maximum width for a message for a nice look on larger screens.
SendButton
A class that represents send button widget
TextMessage
A class that represents text message widget with optional link preview

Functions

formatBytes(int size, [int fractionDigits = 2]) String
Returns text representation of a provided bytes value (e.g. 1kB, 1GB)