AuiAvatar constructor

const AuiAvatar({
  1. Key? key,
  2. String? imageUrl,
  3. String? name,
  4. double size = 40.0,
  5. Color? backgroundColor,
  6. Color? foregroundColor,
  7. AvatarShape shape = AvatarShape.circle,
  8. Widget? badge,
  9. VoidCallback? onTap,
  10. Color? borderColor,
  11. double borderWidth = 0,
})

Creates an AuiAvatar.

Implementation

const AuiAvatar({
  super.key,
  this.imageUrl,
  this.name,
  this.size = 40.0,
  this.backgroundColor,
  this.foregroundColor,
  this.shape = AvatarShape.circle,
  this.badge,
  this.onTap,
  this.borderColor,
  this.borderWidth = 0,
});