JsonNetworkImageBuilder constructor
JsonNetworkImageBuilder({
- required Alignment alignment,
- int? cacheHeight,
- int? cacheWidth,
- Rect? centerSlice,
- Color? color,
- BlendMode? colorBlendMode,
- ImageErrorWidgetBuilder? errorBuilder,
- required bool excludeFromSemantics,
- required FilterQuality filterQuality,
- BoxFit? fit,
- ImageFrameBuilder? frameBuilder,
- required bool gaplessPlayback,
- double? height,
- Map<
String, String> ? headers, - required bool isAntiAlias,
- ImageLoadingBuilder? loadingBuilder,
- required bool matchTextDirection,
- double? opacity,
- required ImageRepeat repeat,
- required double scale,
- String? semanticLabel,
- required String src,
- 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);