Avatar constructor

const Avatar({
  1. Key? key,
  2. required String initials,
  3. Color? backgroundColor,
  4. double? size,
  5. double? borderRadius,
  6. AvatarWidget? badge,
  7. AlignmentGeometry? badgeAlignment,
  8. double? badgeGap,
  9. ImageProvider<Object>? provider,
})

Implementation

const Avatar({
  super.key,
  required this.initials,
  this.backgroundColor,
  this.size,
  this.borderRadius,
  this.badge,
  this.badgeAlignment,
  this.badgeGap,
  this.provider,
});