Avatar
Avatars are used to represent users or entities. They can display text (initials), icons, or images.
Initials
Section titled “Initials”The most common use case is displaying a user’s initials.
Avatar( child: Text('CP'),)You can also display icons within an avatar.
Avatar( child: Icon(PrimeIcons.viamFlutter, size: 20),)Avatars can be sized using the size property. The default size is 32.0.
Row( children: [ Avatar(size: 24, child: Text('XS')), SizedBox(width: 16), Avatar(size: 32, child: Text('SM')), SizedBox(width: 16), Avatar(size: 48, child: Text('MD')), SizedBox(width: 16), Avatar(size: 64, child: Text('LG')), ],)