SfAIAssistViewThemeData.raw constructor

SfAIAssistViewThemeData.raw({
  1. Color? actionButtonForegroundColor,
  2. Color? actionButtonBackgroundColor,
  3. Color? actionButtonFocusColor,
  4. Color? actionButtonHoverColor,
  5. Color? actionButtonSplashColor,
  6. Color? actionButtonDisabledForegroundColor,
  7. Color? actionButtonDisabledBackgroundColor,
  8. double? actionButtonElevation,
  9. double? actionButtonFocusElevation,
  10. double? actionButtonHoverElevation,
  11. double? actionButtonDisabledElevation,
  12. double? actionButtonHighlightElevation,
  13. ShapeBorder? actionButtonShape,
  14. MouseCursor? actionButtonMouseCursor,
  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,
})

Returns a new instance of SfAIAssistViewThemeData.raw for the given values.

If any of the values are null, the default values will be set.

Implementation

factory SfAIAssistViewThemeData.raw({
  Color? actionButtonForegroundColor,
  Color? actionButtonBackgroundColor,
  Color? actionButtonFocusColor,
  Color? actionButtonHoverColor,
  Color? actionButtonSplashColor,
  Color? actionButtonDisabledForegroundColor,
  Color? actionButtonDisabledBackgroundColor,
  double? actionButtonElevation,
  double? actionButtonFocusElevation,
  double? actionButtonHoverElevation,
  double? actionButtonDisabledElevation,
  double? actionButtonHighlightElevation,
  ShapeBorder? actionButtonShape,
  MouseCursor? actionButtonMouseCursor,
  Color? requestAvatarBackgroundColor,
  Color? responseAvatarBackgroundColor,
  Color? requestBubbleContentBackgroundColor,
  Color? responseBubbleContentBackgroundColor,
  TextStyle? editorTextStyle,
  TextStyle? requestContentTextStyle,
  TextStyle? responseContentTextStyle,
  TextStyle? requestPrimaryHeaderTextStyle,
  TextStyle? responsePrimaryHeaderTextStyle,
  TextStyle? requestSecondaryHeaderTextStyle,
  TextStyle? responseSecondaryHeaderTextStyle,
  WidgetStateProperty<TextStyle?>? suggestionItemTextStyle,
  ShapeBorder? requestBubbleContentShape,
  ShapeBorder? responseBubbleContentShape,
  Color? suggestionBackgroundColor,
  ShapeBorder? suggestionBackgroundShape,
  WidgetStateProperty<Color?>? suggestionItemBackgroundColor,
  WidgetStateProperty<ShapeBorder?>? suggestionItemShape,
  Color? responseToolbarBackgroundColor,
  ShapeBorder? responseToolbarBackgroundShape,
  WidgetStateProperty<Color?>? responseToolbarItemBackgroundColor,
  WidgetStateProperty<ShapeBorder?>? responseToolbarItemShape,
}) {
  return SfAIAssistViewThemeData(
    actionButtonForegroundColor: actionButtonForegroundColor,
    actionButtonBackgroundColor: actionButtonBackgroundColor,
    actionButtonFocusColor: actionButtonFocusColor,
    actionButtonHoverColor: actionButtonHoverColor,
    actionButtonSplashColor: actionButtonSplashColor,
    actionButtonDisabledForegroundColor: actionButtonDisabledForegroundColor,
    actionButtonDisabledBackgroundColor: actionButtonDisabledBackgroundColor,
    actionButtonElevation: actionButtonElevation ?? 0.0,
    actionButtonFocusElevation: actionButtonFocusElevation ?? 0.0,
    actionButtonHoverElevation: actionButtonHoverElevation ?? 0.0,
    actionButtonDisabledElevation: actionButtonDisabledElevation ?? 0.0,
    actionButtonHighlightElevation: actionButtonHighlightElevation ?? 0.0,
    actionButtonShape: actionButtonShape,
    actionButtonMouseCursor: actionButtonMouseCursor,
    requestAvatarBackgroundColor: requestAvatarBackgroundColor,
    responseAvatarBackgroundColor: responseAvatarBackgroundColor,
    requestBubbleContentBackgroundColor: requestBubbleContentBackgroundColor,
    responseBubbleContentBackgroundColor:
        responseBubbleContentBackgroundColor,
    editorTextStyle: editorTextStyle,
    requestContentTextStyle: requestContentTextStyle,
    responseContentTextStyle: responseContentTextStyle,
    requestPrimaryHeaderTextStyle: requestPrimaryHeaderTextStyle,
    responsePrimaryHeaderTextStyle: responsePrimaryHeaderTextStyle,
    requestSecondaryHeaderTextStyle: requestSecondaryHeaderTextStyle,
    responseSecondaryHeaderTextStyle: responseSecondaryHeaderTextStyle,
    suggestionItemTextStyle: suggestionItemTextStyle,
    requestBubbleContentShape: requestBubbleContentShape,
    responseBubbleContentShape: responseBubbleContentShape,
    suggestionBackgroundColor: suggestionBackgroundColor,
    suggestionBackgroundShape: suggestionBackgroundShape,
    suggestionItemBackgroundColor: suggestionItemBackgroundColor,
    suggestionItemShape: suggestionItemShape,
    responseToolbarBackgroundColor: responseToolbarBackgroundColor,
    responseToolbarBackgroundShape: responseToolbarBackgroundShape,
    responseToolbarItemBackgroundColor: responseToolbarItemBackgroundColor,
    responseToolbarItemShape: responseToolbarItemShape,
  );
}