ChatBoxOptions class

Options to configure the behaviour of the ChatBox UI.

Constructors

ChatBoxOptions({TextDirection? dir, CustomEmojis? customEmojis, MessageFieldOptions? messageField, bool? showChatHeader, TranslationToggle? showTranslationToggle, String? theme, ThemeOptions? themeOptions, TranslateConversations? translateConversations})
const

Properties

customEmojis → CustomEmojis?
Allows users to send and receive custom emojis.
final
dir → TextDirection?
Controls the text direction (for supporting right-to-left languages such as Arabic and Hebrew).
final
hashCode → int
The hash code for this object.
no setteroverride
messageField → MessageFieldOptions?
Settings that affect the behavior of the message field
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showChatHeader → bool?
TODO: messageFilter Used to control if the Chat Header is displayed in the UI.
final
showTranslationToggle → TranslationToggle?
Set this to on to show a translation toggle in all conversations. Set this to auto to show a translation toggle in conversations where there are participants with different locales.
final
theme → String?
Overrides the theme used for this chat UI.
final
themeOptions → ThemeOptions?
final
translateConversations → TranslateConversations?
Enables conversation translation with Google Translate.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override