UserAvatar constructor

const UserAvatar({
  1. Key? key,
  2. required User author,
  3. BubbleRtlAlignment? bubbleRtlAlignment,
  4. Map<String, String>? imageHeaders,
  5. void onAvatarTap(
    1. User
    )?,
})

Creates user avatar.

Implementation

const UserAvatar({
  super.key,
  required this.author,
  this.bubbleRtlAlignment,
  this.imageHeaders,
  this.onAvatarTap,
});