LdTextHxs constructor
const
LdTextHxs(
- 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,
Implementation
const LdTextHxs(
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.xs,
type: LdTextType.headline,
fontWeight: fontWeight,
lineHeight: lineHeight,
color: color);