VoicebotTheme constructor
const
VoicebotTheme({
- VoicebotCorner corner = VoicebotCorner.bottomRight,
- EdgeInsets margin = const EdgeInsets.all(16),
- double buttonSize = 60,
- double buttonElevation = 6,
- IconData? buttonIcon,
- Color? buttonBackground,
- Color? buttonForeground,
- Color? accent,
- Color? pulseColor,
- Color? panelBackground,
- double panelRadius = 20,
- double panelMaxWidth = 420,
- double panelHeightFactor = 0.72,
- Color? userBubbleColor,
- Color? userTextColor,
- Color? botBubbleColor,
- Color? botTextColor,
- double bubbleRadius = 16,
- double spacing = 8,
- TextStyle? titleStyle,
- TextStyle? bubbleTextStyle,
- 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(),
});