CircularImageHolder constructor
const
CircularImageHolder({})
Creates a circular image with the given asset image.
If asset image is null, it create image with the given file.
If even the file is not given, it creates image with the url, fetch a default network image if url is null.
Can use an optional icon with the image
Implementation
const CircularImageHolder({
Key? key,
this.imageFile,
this.imageUrl,
this.assetImagePath,
this.icon,
this.iconColor,
this.iconBackgroundColor,
this.imageBackgroundColor = Colors.white,
this.onImageAdded,
this.onPressed,
required this.imageSize,
}) : super(key: key);