ChatAppearance constructor

const ChatAppearance({
  1. String? surfaceColor,
  2. String? botBubbleColor,
  3. String? userBubbleColor,
  4. String? botTextColor,
  5. String? userTextColor,
})

Implementation

const factory ChatAppearance({
  /// Chat surface background (#RRGGBB). Falls back to
  /// `colorScheme.surfaceContainerLow`.
  String? surfaceColor,

  /// Bot bubble background. Falls back to `colorScheme.surface`.
  String? botBubbleColor,

  /// User bubble background. Falls back to
  /// `colorScheme.surfaceContainerHigh`.
  String? userBubbleColor,

  /// Bot bubble text. Falls back to `colorScheme.onSurface`.
  String? botTextColor,

  /// User bubble text. Falls back to `colorScheme.onSurface`.
  String? userTextColor,
}) = _ChatAppearance;