Creates an object holding the configuration information for an ImageProvider.
All the arguments are optional. Configuration information is merely advisory and best-effort.
Source
ImageConfiguration copyWith({
AssetBundle bundle,
double devicePixelRatio,
Locale locale,
Size size,
String platform
}) {
return new ImageConfiguration(
bundle: bundle ?? this.bundle,
devicePixelRatio: devicePixelRatio ?? this.devicePixelRatio,
locale: locale ?? this.locale,
size: size ?? this.size,
platform: platform ?? this.platform
);
}