loadImageFile static method

Widget loadImageFile(
  1. File file, {
  2. double? width,
  3. double? height,
  4. BoxFit? fit,
  5. double roundRadius = 0,
})

Implementation

static Widget loadImageFile(File file,
    {double? width, double? height, BoxFit? fit,double roundRadius:0}){
  return ClipRRect(
    borderRadius: BorderRadius.circular(roundRadius),
    child: ImageUtils.loadImageFileOrigin(
        file,
        width: width,
        height: height,
        fit: fit
    ),
  );
}