UiLabel constructor

const UiLabel(
  1. String text, {
  2. Key? key,
  3. UiLabelTextType textType = UiLabelTextType.bodyMedium,
  4. Color? color,
  5. TextAlign? textAlign,
  6. int? maxLines,
  7. TextOverflow? overflow,
  8. double? fontSize,
  9. FontWeight? fontWeight,
  10. double? letterSpacing,
  11. 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,
});