UdText constructor
UdText({
- String? text,
- double? fontSize,
- Color? color,
- FontWeight? fontWeight,
- TextAlign? alignment,
- double? lineheight,
- int? maxLines,
- TextDecoration? decoration,
- TextOverflow? overflow,
You can use this widget for texts. Inside we are using Text widget but UdText helps you minimizing code.
Implementation
UdText({
this.text,
this.fontSize,
this.color,
this.fontWeight,
this.alignment,
this.lineheight,
this.maxLines,
this.decoration,
this.overflow,
});