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? outgoingBubbleContentBackgroundColor,
  16. Color? incomingBubbleContentBackgroundColor,
  17. TextStyle? editorTextStyle,
  18. TextStyle? outgoingContentTextStyle,
  19. TextStyle? incomingContentTextStyle,
  20. TextStyle? outgoingPrimaryHeaderTextStyle,
  21. TextStyle? incomingPrimaryHeaderTextStyle,
  22. TextStyle? outgoingSecondaryHeaderTextStyle,
  23. TextStyle? incomingSecondaryHeaderTextStyle,
  24. ShapeBorder? outgoingBubbleContentShape,
  25. ShapeBorder? incomingBubbleContentShape,
})

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.outgoingBubbleContentBackgroundColor,
  this.incomingBubbleContentBackgroundColor,
  this.editorTextStyle,
  this.outgoingContentTextStyle,
  this.incomingContentTextStyle,
  this.outgoingPrimaryHeaderTextStyle,
  this.incomingPrimaryHeaderTextStyle,
  this.outgoingSecondaryHeaderTextStyle,
  this.incomingSecondaryHeaderTextStyle,
  this.outgoingBubbleContentShape,
  this.incomingBubbleContentShape,
});