Avatar constructor
Avatar({})
Implementation
Avatar(
{Key? key,
this.type: 'normal',
this.size,
this.shape: 'round',
this.color,
this.iconColor,
this.custom,
this.image,
this.onClick})
: assert(["small", "normal", "large"].indexOf(type) > -1,
"type must be small, normal, or large"),
assert(["round", "square"].indexOf(shape) > -1,
"shape must be round, or square"),
super(key: key);