HatangChatTheme constructor

const HatangChatTheme({
  1. required Brightness brightness,
  2. required HatangPalette palette,
  3. required Color accent,
  4. required Color onAccent,
  5. String? fontFamily,
  6. double bubbleRadius = HatangRadius.lg,
  7. Color? mineBubble,
  8. Color? onMineBubble,
  9. Color? theirBubble,
  10. Color? onTheirBubble,
})

Creates a theme.

Implementation

const HatangChatTheme({
  required this.brightness,
  required this.palette,
  required this.accent,
  required this.onAccent,
  this.fontFamily,
  this.bubbleRadius = HatangRadius.lg,
  this.mineBubble,
  this.onMineBubble,
  this.theirBubble,
  this.onTheirBubble,
});