ChatTheme
Our theme that provides all the important properties for styling to the user.
Parameters
If we're currently in the dark mode or not. Affects only the default color palette that's provided. If you customize colors, make sure to add your own logic for dark/light colors.
Central behavioral configuration for the Chat SDK. See ChatUiConfig.
The set of colors we provide, wrapped in StreamDesign.Colors.
The set of typography styles we provide, wrapped in StreamDesign.Typography.
Provide to customize the stateless components that are used throughout the UI.
Attachment preview handlers we provide.
Provides available reactions and resolves reaction types to emoji codes.
Used to create a preview icon for the given message type.
DateFormatter Used throughout the app for date and time information.
TimeProvider Used throughout the app for time information.
DurationFormatter Used to format durations in the app.
ChannelNameFormatter Used throughout the app for channel names.
MessagePreviewFormatter Used to generate a string preview for the given message.
SearchResultNameFormatter Used to format names in search results.
A factory that creates new Coil ImageLoader instances. If you provide a custom factory and use a custom CDN (via io.getstream.chat.android.client.ChatClient.Builder), you must override the StreamCoilImageLoaderFactory.imageLoader overload that accepts interceptors; otherwise those features are silently ignored. If you don't use a custom CDN, overriding the single-arg method is sufficient.
MessageAlignmentProvider Used to provide message alignment for the given message.
Sets the strategy for resizing images hosted on Stream's CDN. Disabled by default, set StreamCdnImageResizing.imageResizingEnabled to true if you wish to enable resizing images. Note that resizing applies only to images hosted on Stream's CDN which contain the original height (oh) and width (ow) query parameters.
MessageTextFormatter Used to format message text for display.
Used for recording audio messages.
The content shown within the theme wrapper.