Label

Label:
 
 
Different styles, sizes and states of labels are prepared by flutter code in admin panel:
 

Label on different widgets
Label in unique mode
Label with different contents
Label with separator border
Label in different color
Label in different sizes and border radius's

Label on different widgets:


these are labels on different widgets located in:
es_flutter_component/lib/components/es_label
and is used as:

 EsLabel(
              isUnique: false,
                widget: EsButton(
                   text:AppLocalizations.of(context)!.button,
                ),
              ),


Label in unique mode:


these are labels in unique mode located in:
es_flutter_component/lib/components/es_label
and is used as:

EsLabel(
isUnique: true,
),



Label with different contents:


these are labels with different contents located in:
es_flutter_component/lib/components/es_label
and is used as:

EsContentLabel(
isUnique: false,
widget: EsButton(
text:AppLocalizations.of(context)!.button,
),
size: StructureBuilder.dims!.h3IconSize,
text: "1400",
),



Label with separator border:


these are labels with seprator border located in:
es_flutter_component/lib/components/es_label
and is used as:
EsLabel(
isUnique: false,
widget: EsButton(
text:AppLocalizations.of(context)!.button,
),
hasBorder: true,
),



Label in different color:


these are labels in different colors located in:
es_flutter_component/lib/components/es_label
and is used as:

EsLabel(
isUnique: false,
widget: EsButton(
text:AppLocalizations.of(context)!.button,
),
color: StructureBuilder.styles!.warningColor().warningDark,
),



Label in different sizes and border radius's:

these are labels in different sizes and border radius's located in:
es_flutter_component/lib/components/es_label
and is used as:

EsLabel(
isUnique: false,
widget: EsButton(
text:AppLocalizations.of(context)!.button,
),
size: StructureBuilder.dims!.h2IconSize,
),

//and 

EsContentLabel(
isUnique: false,
widget: EsButton(
text:AppLocalizations.of(context)!.button,
),
size: StructureBuilder.dims!.h3IconSize,
labelContent: EsSvgIcon("packages/es_flutter_component/assets/svgs/Gift.svg",
size: StructureBuilder.dims!.h3IconSize,
color: StructureBuilder.styles!.primaryLightColor,
),


 borderRadius: BorderRadius.all(Radius.circular(0))),