copyWith method
ImageStyle
copyWith({
- double? opacity,
- String? filter,
- ObjectFit? fit,
- String? title,
- ImageDecoding? decoding,
Implementation
ImageStyle copyWith({
double? opacity,
String? filter,
ObjectFit? fit,
String? title,
ImageDecoding? decoding,
}) {
return ImageStyle(
opacity: opacity ?? this.opacity,
filter: filter ?? this.filter,
fit: fit ?? this.fit,
title: title ?? this.title,
decoding: decoding ?? this.decoding,
);
}