swifty_chat library

Classes

AccessibilityHelpers
Accessibility utilities for WCAG compliance and improved user experience
CarouselButtonItem
Represents a button within a carousel item
CarouselItem
Represents the data for a carousel item
CarouselMessageKind
Carousel message kind
Chat
ChatAnimations
Animation configurations and helpers for chat UI
ChatInputFieldConfig
Configuration for the chat input field appearance
ChatTheme
Base chat theme containing all required properties to make a theme. Extend this class if you want to create a custom theme.
ChatUser
Abstract base class for chat users
CustomMessageKind
Custom message kind for user-defined content
DarkChatTheme
Dark chat theme which extends ChatTheme
DefaultChatTheme
Default chat theme which extends ChatTheme
HtmlMessageKind
HTML message kind
ImageMessageKind
Image message kind
Material3ChatTheme
Material 3 compatible chat theme that integrates with Flutter's ColorScheme and provides semantic color tokens.
Message
Abstract base class for chat messages
MessageCellSizeConfigurator
Configures the maximum width and height for different message cell types with support for responsive breakpoints.
MessageInputField
A modern, Material 3 compatible chat input field with dark mode support
MessageKind
Represents different types of chat messages using sealed class pattern. This enables exhaustive pattern matching with switch expressions.
QuickReplyItem
Represents a quick reply option
QuickReplyMessageKind
Quick reply message kind
ResponsiveBreakpoints
Responsive breakpoints for adaptive layouts Follows common breakpoint standards for mobile, tablet, and desktop
TextMessageKind
Text message kind
UserAvatar
Configuration for user avatars in chat

Enums

AvatarPosition
Position of the avatar relative to the message bubble
ScreenSize
Screen size categories

Mixins

ChatKeys

Extensions

AvatarAlignment on AvatarPosition
Extension for converting AvatarPosition to CrossAxisAlignment
StringToKey on String

Constants

dark → const Color
Dark
neutral0 → const Color
N0
neutral2 → const Color
N2
neutral7 → const Color
N7
neutral7WithOpacity → const Color
N7 with opacity
primary → const Color
Primary
secondary → const Color
Secondary
secondaryDark → const Color
Secondary dark

Typedefs

MaxHeightConfiguration = double Function(double parentHeight)
MaxWidthConfiguration = double Function(double parentWidth)