UserAvatar constructor

const UserAvatar({
  1. Key? key,
  2. FirebaseAuth? auth,
  3. double? size,
  4. ShapeBorder? shape,
  5. Color? placeholderColor,
})

A widget that displays the user's avatar.

Shows a placeholder if user doesn't have a profile photo.

Implementation

const UserAvatar({
  super.key,
  this.auth,
  this.size,
  this.shape,
  this.placeholderColor,
});