fileImage function
dynamic
fileImage({
- dynamic image,
- dynamic height,
- dynamic width,
- dynamic fit,
- dynamic radius,
Implementation
fileImage({image, height, width, fit, radius}) {
return ClipRRect(
borderRadius: BorderRadius.circular(radius ?? 0),
child: Image.file(image,
height: height ?? 50,
width: width ?? 50,
fit: fit ?? BoxFit.cover,
filterQuality: FilterQuality.high),
);
}