UriImage constructor

const UriImage(
  1. Uri uri, {
  2. Key? key,
  3. double scale = 1.0,
  4. ImageFrameBuilder? frameBuilder,
  5. LoadingBuilder? loadingBuilder,
  6. ErrorBuilder? errorBuilder,
  7. String? semanticLabel,
  8. bool excludeFromSemantics = false,
  9. double? width,
  10. double? height,
  11. Color? color,
  12. BlendMode? colorBlendMode,
  13. BoxFit? fit,
  14. AlignmentGeometry alignment = Alignment.center,
  15. ImageRepeat repeat = ImageRepeat.noRepeat,
  16. Rect? centerSlice,
  17. bool matchTextDirection = false,
  18. bool gaplessPlayback = false,
  19. FilterQuality filterQuality = FilterQuality.low,
  20. bool isAntiAlias = false,
  21. Map<String, String>? headers,
  22. int? cacheWidth,
  23. int? cacheHeight,
  24. ProgressListener? listener,
})

Implementation

const UriImage(
  this.uri, {
  Key? key,
  this.scale = 1.0,
  this.frameBuilder,
  this.loadingBuilder,
  this.errorBuilder,
  this.semanticLabel,
  this.excludeFromSemantics = false,
  this.width,
  this.height,
  this.color,
  this.colorBlendMode,
  this.fit,
  this.alignment = Alignment.center,
  this.repeat = ImageRepeat.noRepeat,
  this.centerSlice,
  this.matchTextDirection = false,
  this.gaplessPlayback = false,
  this.filterQuality = FilterQuality.low,
  this.isAntiAlias = false,
  this.headers,
  this.cacheWidth,
  this.cacheHeight,
  this.listener,
}) : super(key: key);