LdTextP constructor
const
LdTextP(
- 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 LdTextP(
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: size,
type: LdTextType.paragraph,
fontWeight: fontWeight,
lineHeight: lineHeight,
color: color);