ChatUIKitAvatar constructor

ChatUIKitAvatar({
  1. String? avatarUrl,
  2. double size = 32,
  3. CornerRadius? cornerRadius,
  4. VoidCallback? onTap,
  5. ValueKey? key,
})

Implementation

ChatUIKitAvatar({
  this.avatarUrl,
  this.size = 32,
  this.cornerRadius,
  this.onTap,
  ValueKey? key,
}) : super(key: key ?? ValueKey(avatarUrl)) {
  isCurrent = false;
}