copyWith method
AIConversationSummaryStyle
copyWith({
- TextStyle? replyTextStyle,
- TextStyle? loadingTextStyle,
- Color? backgroundColor,
- Color? loadingIconTint,
- TextStyle? emptyTextStyle,
- TextStyle? errorTextStyle,
- Color? errorIconTint,
- Color? emptyIconTint,
- Color? shadowColor,
- Color? background,
- BoxBorder? border,
- double? borderRadius,
- Gradient? gradient,
Copies current AIConversationSummaryStyle with some changes
Implementation
AIConversationSummaryStyle copyWith({
TextStyle? replyTextStyle,
TextStyle? loadingTextStyle,
Color? backgroundColor,
Color? loadingIconTint,
TextStyle? emptyTextStyle,
TextStyle? errorTextStyle,
Color? errorIconTint,
Color? emptyIconTint,
Color? shadowColor,
Color? background,
BoxBorder? border,
double? borderRadius,
Gradient? gradient,
}) {
return AIConversationSummaryStyle(
loadingTextStyle: loadingTextStyle ?? this.loadingTextStyle,
backgroundColor: backgroundColor ?? this.backgroundColor,
loadingIconTint: loadingIconTint ?? this.loadingIconTint,
emptyTextStyle: emptyTextStyle ?? this.emptyTextStyle,
errorTextStyle: errorTextStyle ?? this.errorTextStyle,
errorIconTint: errorIconTint ?? this.errorIconTint,
emptyIconTint: emptyIconTint ?? this.emptyIconTint,
shadowColor: shadowColor ?? this.shadowColor,
background: background ?? this.background,
border: border ?? this.border,
borderRadius: borderRadius ?? this.borderRadius,
gradient: gradient ?? this.gradient,
);
}