Avatar

Avatar:
 
Different Styles, shapes, sizes and positions of avatars are prepared by flutter code in admin panel:
 
 Avatars in different sizes
Avatars in different statuses
Avatars with different widgets
Avatars with different background colors
Avatars in different shapes
Group avatar


Avatars in different sizes:

these are avatars in different sizes located in:
es_flutter_component/lib/components/es_image/es_avatar_image.dart
and is used as:

  EsAvatarImage(
                path: _imagePath,
                radius: StructureBuilder.dims!.h1IconSize / 2,
              ),
  // where 
      String _imagePath = "assets/images/img4.jpg";



Avatars in different statuses:

these are avatars in different statuses located in:
es_flutter_component/lib/components/es_image/es_avatar_image.dart
and is used as:
EsLabel(
isUnique: false,
widget: EsAvatarImage(path: _imagePath,),
hasBorder: true,
widgetSize: StructureBuilder.dims!.h2IconSize * 0.2,
color: StructureBuilder.styles!.primaryColor
),
//where 
String _imagePath = "assets/images/img4.jpg";




Avatars with different widgets:

these are avatars with different widgets located in:
es_flutter_component/lib/components/es_image/es_avatar_image.dart
and is used as:

EsAvatarWidget(
widget: EsTitle(
"FA",
color: StructureBuilder.styles!.primaryLightColor,
)),



Avatars with different background colors:

these are avatars with different background colors located in:
es_flutter_component/lib/components/es_image/es_avatar_image.dart
and is used as:

EsAvatarWidget(
backGroundColor: StructureBuilder.styles!.tritiaryColor,
widget: EsTitle(
"FA",
color: StructureBuilder.styles!.primaryLightColor,
)),



Avatars in different shapes:

these are avatars in different shapes and shapes located in:
es_flutter_component/lib/components/es_image
and is used as:

EsAvatarImage.rectangle(
isrectangle: true,
path: _imagePath,
size: StructureBuilder.dims!.h2IconSize,
),
//where 
String _imagePath = "assets/images/img4.jpg";





Group avatar:

It is group avatar located in:
es_flutter_component/lib/components/es_image
and is used as:

EsAvatarGroup(avatarList: _avatarList)
where 
List<Widget> _avatarList = [
EsAvatarImage(
path: _imagePath,
),
EsAvatarWidget(
widget: EsTitle(
"FA",
color: StructureBuilder.styles!.primaryLightColor,
)),
EsAvatarImage(
path: _imagePath,
),
EsAvatarWidget(
backGroundColor: StructureBuilder.styles!.tritiaryColor,
widget: EsTitle(
"FA",
color: StructureBuilder.styles!.primaryLightColor,
)),
];