JsonNetworkImageBuilder constructor

JsonNetworkImageBuilder({
  1. required Alignment alignment,
  2. int? cacheHeight,
  3. int? cacheWidth,
  4. Rect? centerSlice,
  5. Color? color,
  6. BlendMode? colorBlendMode,
  7. ImageErrorWidgetBuilder? errorBuilder,
  8. required bool excludeFromSemantics,
  9. required FilterQuality filterQuality,
  10. BoxFit? fit,
  11. ImageFrameBuilder? frameBuilder,
  12. required bool gaplessPlayback,
  13. double? height,
  14. Map<String, String>? headers,
  15. required bool isAntiAlias,
  16. ImageLoadingBuilder? loadingBuilder,
  17. required bool matchTextDirection,
  18. double? opacity,
  19. required ImageRepeat repeat,
  20. required double scale,
  21. String? semanticLabel,
  22. required String src,
  23. double? width,
})

Implementation

JsonNetworkImageBuilder({
  required this.alignment,
  this.cacheHeight,
  this.cacheWidth,
  this.centerSlice,
  this.color,
  this.colorBlendMode,
  this.errorBuilder,
  required this.excludeFromSemantics,
  required this.filterQuality,
  this.fit,
  this.frameBuilder,
  required this.gaplessPlayback,
  this.height,
  this.headers,
  required this.isAntiAlias,
  this.loadingBuilder,
  required this.matchTextDirection,
  this.opacity,
  required this.repeat,
  required this.scale,
  this.semanticLabel,
  required this.src,
  this.width,
})  : assert(src.isNotEmpty == true),
      super(numSupportedChildren: kNumSupportedChildren);