fileImage static method
dynamic
fileImage({
- dynamic image,
- dynamic height,
- dynamic width,
- dynamic fit,
- dynamic radius,
Implementation
static 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),
);
}