ProfileAvatar constructor
ProfileAvatar({})
Implementation
ProfileAvatar(
{Key? key, this.url,
this.profileName,
this.onClick,
this.borderWith = 5,
this.isEdit = true,
this.image,
this.noAction = false,
this.defaultImage,
this.iconSize,
this.size}) : super(key: key) {
if (profileName != null) {
child = Text(
getShort(profileName!),
style: Get.find<AppFonts>().M(color: Colors.white),
);
}
}