copyWith method
Copies current AISmartRepliesStyle with some changes
Implementation
AISmartRepliesStyle copyWith({
TextStyle? replyTextStyle,
Color? backgroundColor,
Color? loadingIconTint,
TextStyle? emptyTextStyle,
TextStyle? errorTextStyle,
Color? errorIconTint,
Color? emptyIconTint,
Color? dividerTint,
TextStyle? loadingTextStyle,
}) {
return AISmartRepliesStyle(
replyTextStyle: replyTextStyle ?? this.replyTextStyle,
backgroundColor: backgroundColor ?? this.backgroundColor,
loadingIconTint: loadingIconTint ?? this.loadingIconTint,
emptyTextStyle: emptyTextStyle ?? this.emptyTextStyle,
errorTextStyle: errorTextStyle ?? this.errorTextStyle,
errorIconTint: errorIconTint ?? this.errorIconTint,
emptyIconTint: emptyIconTint ?? this.emptyIconTint,
dividerTint: dividerTint ?? this.dividerTint,
loadingTextStyle: loadingTextStyle ?? this.loadingTextStyle,
);
}