BaseTolerantNetworkImage constructor
BaseTolerantNetworkImage({
- Key? key,
- double? width,
- double? height,
- BorderRadiusGeometry? borderRadius,
- required String imageUrl,
- BoxFit? fit = BoxFit.cover,
- PlaceholderWidgetBuilder? placeholder,
- LoadingErrorWidgetBuilder? errorWidget,
- Duration? placeholderFadeInDuration,
- Duration? fadeOutDuration,
- Duration? fadeInDuration,
- ProgressIndicatorBuilder? progressIndicatorBuilder,
- bool? gaplessPlayback,
- void loadStateChanged(
- ExtendedImageState? state,
- String imageUrl
Implementation
BaseTolerantNetworkImage({
Key? key,
this.width,
this.height,
this.borderRadius,
required this.imageUrl,
this.fit = BoxFit.cover,
this.placeholder,
this.errorWidget,
this.placeholderFadeInDuration,
this.fadeOutDuration,
this.fadeInDuration,
this.progressIndicatorBuilder,
this.gaplessPlayback,
this.loadStateChanged,
}) : super(key: key);