ProText constructor
const
ProText({
- Key? key,
- String? text,
- double? fontSize,
- Color? color,
- FontWeight? fontWeight,
- TextAlign? alignment,
- double? lineheight,
- int? maxLines,
- TextDecoration? decoration,
- TextOverflow? overflow,
- TextDirection? textDirection,
- TextDecorationStyle? textDecorationStyle,
- Locale? locale,
- Color? backgroundColor,
- FontStyle? fontStyle,
- String? fontFamily,
- double? letterSpacing,
You can use this widget for texts. Inside we are using Text widget but ProText wrapped it to make Text widget usage easier.
Implementation
const ProText({
Key? key,
this.text,
this.fontSize,
this.color,
this.fontWeight,
this.alignment,
this.lineheight,
this.maxLines,
this.decoration,
this.overflow,
this.textDirection,
this.textDecorationStyle,
this.locale,
this.backgroundColor,
this.fontStyle,
this.fontFamily,
this.letterSpacing,
}) : super(key: key);