copyWith method
CheckmarkThemeData
copyWith({
- Curve? curve,
- Duration? duration,
- Color? color,
- double? weight,
- double? size,
- bool? autoSize,
- bool? rounded,
- bool? drawCross,
- 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,
);
}