copyWith method

CalendarCellDecorator copyWith({
  1. Color? color,
  2. Color? contentColor,
  3. double? height,
  4. double? width,
  5. EdgeInsets? margin,
  6. EdgeInsets? padding,
  7. BorderRadiusGeometry? borderRadius,
})

Implementation

CalendarCellDecorator copyWith({
  Color? color,
  Color? contentColor,
  double? height,
  double? width,
  EdgeInsets? margin,
  EdgeInsets? padding,
  BorderRadiusGeometry? borderRadius,
}) {
  return CalendarCellDecorator(
    color: color ?? this.color,
    contentColor: contentColor ?? this.contentColor,
    height: height ?? this.height,
    width: width ?? this.width,
    margin: margin ?? this.margin,
    padding: padding ?? this.padding,
    borderRadius: borderRadius ?? this.borderRadius,
  );
}