OverLappingAssetsAvatarBuilder constructor
const
OverLappingAssetsAvatarBuilder({
- Key? key,
- required List<
String> listOfAssetsImages, - required int limitAvatars,
- EdgeInsetsGeometry? padding,
- AlignmentGeometry alignment = Alignment.topLeft,
- bool isTotalMemberVisible = true,
- Color? totalMembersHintTextColor,
- double? totalMembersHintTextSize,
- Color? circularAvatarColor,
- double? circularAvatarSize,
- double distanceInEachAvatar = 40,
Implementation
const OverLappingAssetsAvatarBuilder({
super.key,
/// The key used to identify this widget
required this.listOfAssetsImages,
/// List of asset image paths for avatars
required this.limitAvatars,
/// Maximum number of avatars to be displayed
this.padding,
/// Padding around the avatar builder
this.alignment = Alignment.topLeft,
/// Alignment of the avatar builder within its container
this.isTotalMemberVisible = true,
/// Visibility of the total members hint
this.totalMembersHintTextColor,
/// Text color for the total members hint
this.totalMembersHintTextSize,
/// Text size for the total members hint
this.circularAvatarColor,
/// Background color for the circular avatars
this.circularAvatarSize,
/// Size of the circular avatars
this.distanceInEachAvatar = 40,
/// Distance between each avatar
});