copyWith method

  1. @override
CheckmarkThemeData copyWith({
  1. Curve? curve,
  2. Duration? duration,
  3. Color? color,
  4. double? weight,
  5. double? size,
  6. bool? autoSize,
  7. bool? rounded,
  8. bool? drawCross,
  9. bool? drawDash,
})
override

Creates a copy of this CheckmarkThemeData but with the given fields replaced with the new values.

Implementation

@override
CheckmarkThemeData copyWith({
  Curve? curve,
  Duration? duration,
  Color? color,
  double? weight,
  double? size,
  bool? autoSize,
  bool? rounded,
  bool? drawCross,
  bool? drawDash,
}) {
  return CheckmarkThemeData(
    curve: curve ?? this.curve,
    duration: duration ?? this.duration,
    color: color ?? this.color,
    weight: weight ?? this.weight,
    size: size ?? this.size,
    autoSize: autoSize ?? this.autoSize,
    rounded: rounded ?? this.rounded,
    drawCross: drawCross ?? this.drawCross,
    drawDash: drawDash ?? this.drawDash,
  );
}