AvatarTheme constructor
const
AvatarTheme({})
Creates an AvatarTheme with the specified styling options.
All parameters are optional and will fall back to component defaults when not specified.
Parameters:
size(double?, optional): Default size for avatars.borderRadius(double?, optional): Border radius for avatar corners.backgroundColor(Color?, optional): Background color for initials display.badgeAlignment(AlignmentGeometry?, optional): Badge positioning relative to avatar.badgeGap(double?, optional): Spacing between avatar and badge.textStyle(TextStyle?, optional): Text style for initials.
Implementation
const AvatarTheme({
this.size,
this.borderRadius,
this.backgroundColor,
this.badgeAlignment,
this.badgeGap,
this.textStyle,
});