copyWith method
- ShapeBorder? shape,
- Color? color,
- double? elevation,
A copy with the given fields replaced.
Implementation
MorphSurfaceSpec copyWith({
ShapeBorder? shape,
Color? color,
double? elevation,
}) {
return MorphSurfaceSpec(
shape: shape ?? this.shape,
color: color ?? this.color,
elevation: elevation ?? this.elevation,
);
}