NiceProfileAvatar constructor

const NiceProfileAvatar({
  1. Key? key,
  2. String? imageUrl,
  3. String? name,
  4. String? initials,
  5. NiceAvatarSize size = NiceAvatarSize.md,
  6. Color? backgroundColor,
  7. Color? textColor,
  8. VoidCallback? onTap,
  9. Widget? badge,
  10. bool showOnlineIndicator = false,
  11. bool isOnline = false,
  12. BorderRadius? borderRadius,
  13. Border? border,
})

Implementation

const NiceProfileAvatar({
  super.key,
  this.imageUrl,
  this.name,
  this.initials,
  this.size = NiceAvatarSize.md,
  this.backgroundColor,
  this.textColor,
  this.onTap,
  this.badge,
  this.showOnlineIndicator = false,
  this.isOnline = false,
  this.borderRadius,
  this.border,
});