VoicebotTheme constructor

const VoicebotTheme({
  1. VoicebotCorner corner = VoicebotCorner.bottomRight,
  2. EdgeInsets margin = const EdgeInsets.all(16),
  3. double buttonSize = 60,
  4. double buttonElevation = 6,
  5. IconData? buttonIcon,
  6. Color? buttonBackground,
  7. Color? buttonForeground,
  8. Color? accent,
  9. Color? pulseColor,
  10. Color? panelBackground,
  11. double panelRadius = 20,
  12. double panelMaxWidth = 420,
  13. double panelHeightFactor = 0.72,
  14. Color? userBubbleColor,
  15. Color? userTextColor,
  16. Color? botBubbleColor,
  17. Color? botTextColor,
  18. double bubbleRadius = 16,
  19. double spacing = 8,
  20. TextStyle? titleStyle,
  21. TextStyle? bubbleTextStyle,
  22. VoicebotLabels labels = const VoicebotLabels(),
})

Implementation

const VoicebotTheme({
  this.corner = VoicebotCorner.bottomRight,
  this.margin = const EdgeInsets.all(16),
  this.buttonSize = 60,
  this.buttonElevation = 6,
  this.buttonIcon,
  this.buttonBackground,
  this.buttonForeground,
  this.accent,
  this.pulseColor,
  this.panelBackground,
  this.panelRadius = 20,
  this.panelMaxWidth = 420,
  this.panelHeightFactor = 0.72,
  this.userBubbleColor,
  this.userTextColor,
  this.botBubbleColor,
  this.botTextColor,
  this.bubbleRadius = 16,
  this.spacing = 8,
  this.titleStyle,
  this.bubbleTextStyle,
  this.labels = const VoicebotLabels(),
});