TRText constructor
const
TRText(
- String data, {
- TRTextVariant variant = TRTextVariant.body,
- TRTextColor? color,
- TRTextAlign? align,
- TRTextWeight? weight,
- bool truncate = false,
- int? maxLines,
- TextOverflow? overflow,
- bool? softWrap,
- Key? key,
Implementation
const TRText(
this.data, {
TRTextVariant this.variant = TRTextVariant.body,
this.color,
this.align,
this.weight,
this.truncate = false,
this.maxLines,
this.overflow,
this.softWrap,
super.key,
});