copyWith method
Copies current AISmartRepliesStyle with some changes
Implementation
AIOptionsStyle copyWith({
TextStyle? itemTextStyle,
Color? itemsSeparatorColor,
Color? itemBackgroundColor,
double? width,
double? height,
Color? background,
Gradient? gradient,
BoxBorder? border,
double? borderRadius,
}) {
return AIOptionsStyle(
itemTextStyle: itemTextStyle ?? this.itemTextStyle,
itemsSeparatorColor: itemsSeparatorColor ?? this.itemsSeparatorColor,
itemBackgroundColor: itemBackgroundColor ?? this.itemBackgroundColor,
width: width ?? this.width,
height: height ?? this.height,
background: background ?? this.background,
gradient: gradient ?? super.gradient,
border: border ?? this.border,
borderRadius: borderRadius ?? super.borderRadius,
);
}