SfAIAssistViewThemeData.raw constructor
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,
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,
);
}