SfChatThemeData constructor

const SfChatThemeData({
  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? outgoingAvatarBackgroundColor,
  16. Color? incomingAvatarBackgroundColor,
  17. Color? outgoingBubbleContentBackgroundColor,
  18. Color? incomingBubbleContentBackgroundColor,
  19. TextStyle? editorTextStyle,
  20. TextStyle? outgoingContentTextStyle,
  21. TextStyle? incomingContentTextStyle,
  22. TextStyle? outgoingPrimaryHeaderTextStyle,
  23. TextStyle? incomingPrimaryHeaderTextStyle,
  24. TextStyle? outgoingSecondaryHeaderTextStyle,
  25. TextStyle? incomingSecondaryHeaderTextStyle,
  26. WidgetStateProperty<TextStyle?>? suggestionItemTextStyle,
  27. ShapeBorder? outgoingBubbleContentShape,
  28. ShapeBorder? incomingBubbleContentShape,
  29. Color? suggestionBackgroundColor,
  30. ShapeBorder? suggestionBackgroundShape,
  31. WidgetStateProperty<Color?>? suggestionItemBackgroundColor,
  32. WidgetStateProperty<ShapeBorder?>? suggestionItemShape,
})

Create a SfChatThemeData 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 SfChatThemeData constructor.

Implementation

const SfChatThemeData({
  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.outgoingAvatarBackgroundColor,
  this.incomingAvatarBackgroundColor,
  this.outgoingBubbleContentBackgroundColor,
  this.incomingBubbleContentBackgroundColor,
  this.editorTextStyle,
  this.outgoingContentTextStyle,
  this.incomingContentTextStyle,
  this.outgoingPrimaryHeaderTextStyle,
  this.incomingPrimaryHeaderTextStyle,
  this.outgoingSecondaryHeaderTextStyle,
  this.incomingSecondaryHeaderTextStyle,
  this.suggestionItemTextStyle,
  this.outgoingBubbleContentShape,
  this.incomingBubbleContentShape,
  this.suggestionBackgroundColor,
  this.suggestionBackgroundShape,
  this.suggestionItemBackgroundColor,
  this.suggestionItemShape,
});