LdTextHl constructor

const LdTextHl(
  1. String text, {
  2. Key? key,
  3. TextAlign? textAlign,
  4. int? maxLines,
  5. TextOverflow? overflow,
  6. TextDecoration? decoration,
  7. LdSize size = LdSize.m,
  8. LdTextType? type = LdTextType.paragraph,
  9. FontWeight? fontWeight,
  10. double? lineHeight,
  11. Color? color,
})

Implementation

const LdTextHl(
  String text, {
  Key? key,
  TextAlign? textAlign,
  int? maxLines,
  TextOverflow? overflow,
  TextDecoration? decoration,
  LdSize size = LdSize.m,
  LdTextType? type = LdTextType.paragraph,
  FontWeight? fontWeight,
  double? lineHeight,
  Color? color,
}) : super(text,
          key: key,
          textAlign: textAlign,
          maxLines: maxLines,
          overflow: overflow,
          decoration: decoration,
          size: LdSize.l,
          type: LdTextType.headline,
          fontWeight: fontWeight,
          lineHeight: lineHeight,
          color: color);