loadImageFileOrigin static method
Implementation
static Widget loadImageFileOrigin(File file,
{double? width, double? height, BoxFit? fit:BoxFit.cover,double roundRadius:0}){
Image image = Image.file(file, height: height, width: width, fit: fit,);
final ImageStream stream = image.image.resolve(ImageConfiguration.empty);
stream.addListener(ImageStreamListener((ImageInfo image, bool synchronousCall){
},onError: (dynamic exception, StackTrace? stackTrace) {
} ));
return image;
}