copyWith method
Copies current DateStyle with some changes
Implementation
DateStyle copyWith({
TextStyle? textStyle,
EdgeInsetsGeometry? contentPadding,
bool? isTransparentBackground,
double? width,
double? height,
Color? background,
BoxBorder? border,
double? borderRadius,
Gradient? gradient,
}) {
return DateStyle(
textStyle: textStyle ?? this.textStyle,
contentPadding: contentPadding ?? this.contentPadding,
isTransparentBackground:
isTransparentBackground ?? this.isTransparentBackground,
height: height ?? this.height,
width: width ?? this.width,
background: background ?? this.background,
border: border ?? this.border,
borderRadius: borderRadius ?? this.borderRadius,
gradient: gradient ?? this.gradient,
);
}