chatAppearance property

ChatAppearance? get chatAppearance
inherited

Tenant-configurable chat-surface colours. When the server returns a chat_appearance block in /api/project/config/, the repository inflates it into this field; hosts can also pass one explicitly to override at the per-session level.

Render-time precedence (lowest → highest):

  1. SDK's MD3 defaults derived from the ambient ColorScheme.
  2. This field (server-set or host-set).
  3. Theme.of(context).extension<ChatColors>() on the host's MaterialApp — wins when present, lets a host force a brand-specific palette regardless of what the dashboard says.

Implementation

SoundConfiguration get soundConfiguration;/// Tenant-configurable chat-surface colours. When the server
/// returns a `chat_appearance` block in `/api/project/config/`,
/// the repository inflates it into this field; hosts can also
/// pass one explicitly to override at the per-session level.
///
/// Render-time precedence (lowest → highest):
///   1. SDK's MD3 defaults derived from the ambient [ColorScheme].
///   2. This field (server-set or host-set).
///   3. `Theme.of(context).extension<ChatColors>()` on the host's
///      MaterialApp — wins when present, lets a host force a
///      brand-specific palette regardless of what the dashboard
///      says.
ChatAppearance? get chatAppearance;