copyWith method
dynamic
copyWith({})
Implementation
copyWith({
TextStyle? titleStyle,
Color? separatorColor,
double? width,
double? height,
Color? background,
Gradient? gradient,
BoxBorder? border,
double? borderRadius,
}) {
return ListItemStyle(
titleStyle: titleStyle ?? this.titleStyle,
separatorColor: separatorColor ?? this.separatorColor,
width: width ?? this.width,
height: height ?? this.height,
background: background ?? this.background,
gradient: gradient ?? this.gradient,
border: border ?? this.border,
borderRadius: borderRadius ?? this.borderRadius,
);
}