ProfileImage constructor
ProfileImage({})
Show an CircleAvatar with the given image.
If image in null firstName and/or lastName will be used to generate initials to be show in the CircleAvatar.
Atleast on of image, firstName or lastName should not be null.
Implementation
ProfileImage({
Key? key,
this.image,
this.firstName,
this.lastName,
this.backgroundColor,
this.foregroundColor,
this.radius,
this.minRadius,
this.maxRadius,
this.style,
}) : assert(firstName != null || lastName != null || image != null),
super(key: key);