UiLabel constructor
const
UiLabel(
- String text, {
- Key? key,
- UiLabelTextType textType = UiLabelTextType.bodyMedium,
- Color? color,
- TextAlign? textAlign,
- int? maxLines,
- TextOverflow? overflow,
- double? fontSize,
- FontWeight? fontWeight,
- double? letterSpacing,
- TextDecoration decoration = TextDecoration.none,
Implementation
const UiLabel(
this.text, {
super.key,
this.textType = UiLabelTextType.bodyMedium,
this.color,
this.textAlign,
this.maxLines,
this.overflow,
this.fontSize,
this.fontWeight,
this.letterSpacing,
this.decoration = TextDecoration.none,
});