copyWith method
SkeletonLineStyle
copyWith({
- double? width,
- double? height,
- EdgeInsetsGeometry? padding,
- bool? randomLength,
- double? minLength,
- double? maxLength,
- AlignmentGeometry? alignment,
- BorderRadiusGeometry? borderRadius,
Implementation
SkeletonLineStyle copyWith({
double? width,
double? height,
EdgeInsetsGeometry? padding,
bool? randomLength,
double? minLength,
double? maxLength,
AlignmentGeometry? alignment,
BorderRadiusGeometry? borderRadius,
}) {
return SkeletonLineStyle(
width: width ?? this.width,
height: height ?? this.height,
padding: padding ?? this.padding,
randomLength: randomLength ?? this.randomLength,
alignment: alignment ?? this.alignment,
minLength: minLength ?? this.minLength,
maxLength: maxLength ?? this.maxLength,
borderRadius: borderRadius ?? this.borderRadius,
);
}