BaseTolerantNetworkImage constructor

BaseTolerantNetworkImage({
  1. Key? key,
  2. double? width,
  3. double? height,
  4. BorderRadiusGeometry? borderRadius,
  5. required String imageUrl,
  6. BoxFit? fit = BoxFit.cover,
  7. PlaceholderWidgetBuilder? placeholder,
  8. LoadingErrorWidgetBuilder? errorWidget,
  9. Duration? placeholderFadeInDuration,
  10. Duration? fadeOutDuration,
  11. Duration? fadeInDuration,
  12. ProgressIndicatorBuilder? progressIndicatorBuilder,
  13. bool? gaplessPlayback,
  14. void loadStateChanged(
    1. ExtendedImageState? state,
    2. 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);