SfAIAssistViewThemeData constructor

const SfAIAssistViewThemeData({
  1. Color? actionButtonForegroundColor,
  2. Color? actionButtonBackgroundColor,
  3. Color? actionButtonFocusColor,
  4. Color? actionButtonHoverColor,
  5. Color? actionButtonSplashColor,
  6. Color? actionButtonDisabledForegroundColor,
  7. Color? actionButtonDisabledBackgroundColor,
  8. double actionButtonElevation = 0.0,
  9. double actionButtonFocusElevation = 0.0,
  10. double actionButtonHoverElevation = 0.0,
  11. double actionButtonHighlightElevation = 0.0,
  12. double actionButtonDisabledElevation = 0.0,
  13. MouseCursor? actionButtonMouseCursor,
  14. ShapeBorder? actionButtonShape,
  15. Color? requestAvatarBackgroundColor,
  16. Color? responseAvatarBackgroundColor,
  17. Color? requestBubbleContentBackgroundColor,
  18. Color? responseBubbleContentBackgroundColor,
  19. TextStyle? editorTextStyle,
  20. TextStyle? requestContentTextStyle,
  21. TextStyle? responseContentTextStyle,
  22. TextStyle? requestPrimaryHeaderTextStyle,
  23. TextStyle? responsePrimaryHeaderTextStyle,
  24. TextStyle? requestSecondaryHeaderTextStyle,
  25. TextStyle? responseSecondaryHeaderTextStyle,
  26. WidgetStateProperty<TextStyle?>? suggestionItemTextStyle,
  27. ShapeBorder? requestBubbleContentShape,
  28. ShapeBorder? responseBubbleContentShape,
  29. Color? suggestionBackgroundColor,
  30. ShapeBorder? suggestionBackgroundShape,
  31. WidgetStateProperty<Color?>? suggestionItemBackgroundColor,
  32. WidgetStateProperty<ShapeBorder?>? suggestionItemShape,
  33. Color? responseToolbarBackgroundColor,
  34. ShapeBorder? responseToolbarBackgroundShape,
  35. WidgetStateProperty<Color?>? responseToolbarItemBackgroundColor,
  36. WidgetStateProperty<ShapeBorder?>? responseToolbarItemShape,
})

Create a SfAIAssistViewThemeData given a set of exact values. All the values must be specified.

This will rarely be used directly. It is used by lerp to create intermediate themes based on two themes created with the SfAIAssistViewThemeData constructor.

Implementation

const SfAIAssistViewThemeData({
  this.actionButtonForegroundColor,
  this.actionButtonBackgroundColor,
  this.actionButtonFocusColor,
  this.actionButtonHoverColor,
  this.actionButtonSplashColor,
  this.actionButtonDisabledForegroundColor,
  this.actionButtonDisabledBackgroundColor,
  this.actionButtonElevation = 0.0,
  this.actionButtonFocusElevation = 0.0,
  this.actionButtonHoverElevation = 0.0,
  this.actionButtonHighlightElevation = 0.0,
  this.actionButtonDisabledElevation = 0.0,
  this.actionButtonMouseCursor,
  this.actionButtonShape,
  this.requestAvatarBackgroundColor,
  this.responseAvatarBackgroundColor,
  this.requestBubbleContentBackgroundColor,
  this.responseBubbleContentBackgroundColor,
  this.editorTextStyle,
  this.requestContentTextStyle,
  this.responseContentTextStyle,
  this.requestPrimaryHeaderTextStyle,
  this.responsePrimaryHeaderTextStyle,
  this.requestSecondaryHeaderTextStyle,
  this.responseSecondaryHeaderTextStyle,
  this.suggestionItemTextStyle,
  this.requestBubbleContentShape,
  this.responseBubbleContentShape,
  this.suggestionBackgroundColor,
  this.suggestionBackgroundShape,
  this.suggestionItemBackgroundColor,
  this.suggestionItemShape,
  this.responseToolbarBackgroundColor,
  this.responseToolbarBackgroundShape,
  this.responseToolbarItemBackgroundColor,
  this.responseToolbarItemShape,
});