NiceProfileAvatar constructor
const
NiceProfileAvatar({
- Key? key,
- String? imageUrl,
- String? name,
- String? initials,
- NiceAvatarSize size = NiceAvatarSize.md,
- Color? backgroundColor,
- Color? textColor,
- VoidCallback? onTap,
- Widget? badge,
- bool showOnlineIndicator = false,
- bool isOnline = false,
- BorderRadius? borderRadius,
- 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,
});