copyWith method
SkeletonProps
copyWith({
- String? width,
- String? height,
- String? borderRadius,
- SkeletonShape? shape,
- bool? animate,
Implementation
SkeletonProps copyWith({
String? width,
String? height,
String? borderRadius,
SkeletonShape? shape,
bool? animate,
}) {
return SkeletonProps(
width: width ?? this.width,
height: height ?? this.height,
borderRadius: borderRadius ?? this.borderRadius,
shape: shape ?? this.shape,
animate: animate ?? this.animate,
);
}