ImageConfiguration constructor Null safety

const ImageConfiguration(
  1. {AssetBundle? bundle,
  2. double? devicePixelRatio,
  3. Locale? locale,
  4. TextDirection? textDirection,
  5. Size? size,
  6. TargetPlatform? platform}
)

Creates an object holding the configuration information for an ImageProvider.

All the arguments are optional. Configuration information is merely advisory and best-effort.

Implementation

const ImageConfiguration({
  this.bundle,
  this.devicePixelRatio,
  this.locale,
  this.textDirection,
  this.size,
  this.platform,
});