copyWith method
PlaceholderImageProps
copyWith({
- PlaceholderSource? source,
- String? seed,
- PlaceholderSize? size,
- int? width,
- int? height,
- PlaceholderShape? shape,
- PlaceholderFit? fit,
- String? alt,
- String? text,
- bool? animated,
- bool? grayscale,
- int? blur,
- String? backgroundColor,
- String? textColor,
- bool? lazy,
- void onTap()?,
- String? classes,
Implementation
PlaceholderImageProps copyWith({
PlaceholderSource? source,
String? seed,
PlaceholderSize? size,
int? width,
int? height,
PlaceholderShape? shape,
PlaceholderFit? fit,
String? alt,
String? text,
bool? animated,
bool? grayscale,
int? blur,
String? backgroundColor,
String? textColor,
bool? lazy,
void Function()? onTap,
String? classes,
}) {
return PlaceholderImageProps(
source: source ?? this.source,
seed: seed ?? this.seed,
size: size ?? this.size,
width: width ?? this.width,
height: height ?? this.height,
shape: shape ?? this.shape,
fit: fit ?? this.fit,
alt: alt ?? this.alt,
text: text ?? this.text,
animated: animated ?? this.animated,
grayscale: grayscale ?? this.grayscale,
blur: blur ?? this.blur,
backgroundColor: backgroundColor ?? this.backgroundColor,
textColor: textColor ?? this.textColor,
lazy: lazy ?? this.lazy,
onTap: onTap ?? this.onTap,
classes: classes ?? this.classes,
);
}