StatefulImage constructor
const
StatefulImage({
- Key? key,
- ImageDealType? imageDealType,
- void lastImageUrlGetBlock(
- String lastImageUrl
- double? prepageImageWidth,
- double? prepageImageHeight,
- double? width,
- double? height,
- required String imageUrl,
- BoxFit? fit = BoxFit.cover,
- PlaceholderWidgetBuilder? placeholder,
- LoadingErrorWidgetBuilder? errorWidget,
- Duration? placeholderFadeInDuration,
- Duration? fadeOutDuration,
- Duration? fadeInDuration,
- 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);