ExtendedImageWithAssetsPicker.file constructor
ExtendedImageWithAssetsPicker.file(
- File file, {
- Key? key,
- ExtendedImageLoadStateBuilder? loading,
- ExtendedImageLoadStateBuilder? failed,
- double? width,
- double? height,
- BoxFit? fit = BoxFit.cover,
Implementation
ExtendedImageWithAssetsPicker.file(File file,
{super.key,
this.loading,
this.failed,
super.width,
super.height,
super.fit = BoxFit.cover})
: super.file(file,
imageCacheName: file.path,
enableLoadState: true,
loadStateChanged:
_buildLoadStateChanged(failed: failed, loading: loading));