copyWith method

SkeletonAvatarStyle copyWith({
  1. double? width,
  2. double? height,
  3. EdgeInsetsGeometry? padding,
  4. bool? randomWidth,
  5. double? minWidth,
  6. double? maxWidth,
  7. bool? randomHeight,
  8. double? minHeight,
  9. double? maxHeight,
  10. BoxShape? shape,
  11. 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,
  );
}