ImageWidget constructor
ImageWidget({})
Creates an ImageWidget.
The image parameter is required and should contain a single image source.
Implementation
ImageWidget({
super.key,
required this.image,
this.color,
this.fileType = CustomFileType.asset,
this.borderRadius = 12.0,
this.isBoxShadow = true,
this.isDownloadIcon = false,
this.isShareIcon = true,
this.onTap,
this.width = 30,
});