StatefulImage constructor

const StatefulImage({
  1. Key? key,
  2. ImageDealType? imageDealType,
  3. void lastImageUrlGetBlock(
    1. String lastImageUrl
    )?,
  4. double? prepageImageWidth,
  5. double? prepageImageHeight,
  6. double? width,
  7. double? height,
  8. required String imageUrl,
  9. BoxFit? fit = BoxFit.cover,
  10. PlaceholderWidgetBuilder? placeholder,
  11. LoadingErrorWidgetBuilder? errorWidget,
  12. Duration? placeholderFadeInDuration,
  13. Duration? fadeOutDuration,
  14. Duration? fadeInDuration,
  15. ProgressIndicatorBuilder? progressIndicatorBuilder,
})

Implementation

const StatefulImage({
  Key? key,
  this.imageDealType,
  this.lastImageUrlGetBlock,
  this.prepageImageWidth,
  this.prepageImageHeight,
  this.width,
  this.height,
  required this.imageUrl,
  this.fit = BoxFit.cover,
  this.placeholder,
  this.errorWidget,
  this.placeholderFadeInDuration,
  this.fadeOutDuration,
  this.fadeInDuration,
  this.progressIndicatorBuilder,
}) : super(key: key);