copyWith method
SkeletonAvatarStyle
copyWith(
{ - double? width,
- double? height,
- EdgeInsetsGeometry? padding,
- bool? randomWidth,
- double? minWidth,
- double? maxWidth,
- bool? randomHeight,
- double? minHeight,
- double? maxHeight,
- BoxShape? shape,
- BorderRadiusGeometry? borderRadius,
})
Implementation
SkeletonAvatarStyle copyWith({
double? width,
double? height,
EdgeInsetsGeometry? padding,
bool? randomWidth,
double? minWidth,
double? maxWidth,
bool? randomHeight,
double? minHeight,
double? maxHeight,
BoxShape? shape,
BorderRadiusGeometry? borderRadius,
}) {
return SkeletonAvatarStyle(
width: width ?? this.width,
height: height ?? this.height,
padding: padding ?? this.padding,
randomWidth: randomWidth ?? this.randomWidth,
randomHeight: randomHeight ?? this.randomHeight,
minHeight: minHeight ?? this.minHeight,
minWidth: minWidth ?? this.minWidth,
maxHeight: maxHeight ?? this.maxHeight,
maxWidth: maxWidth ?? this.maxWidth,
shape: shape ?? this.shape,
borderRadius: borderRadius ?? this.borderRadius,
);
}