TextView constructor
const
TextView({
- Key? key,
- required String text,
- dynamic color,
- TextStyle? style,
- int? maxlines,
- TextAlign? textAlign,
- bool? underline,
- dynamic textSize,
- String? fontFamily,
- FontWeight? fontWeight,
- double? lineHeight,
- FontStyle? fontStyle,
- dynamic underlineColor,
- bool? strikeThrough,
- bool? capitalise,
- double? letterSpacing,
- TextOverflow? overflow,
- EdgeInsets? margin,
- dynamic onTap()?,
- bool visible = true,
Implementation
const TextView( {super.key, required this.text,
this.color,
this.style,
this.maxlines,
this.textAlign,
this.underline,
this.textSize,
this.fontFamily,
this.fontWeight,
this.lineHeight,
this.fontStyle,
this.underlineColor, this.strikeThrough,
this.capitalise,
this.letterSpacing,
this.overflow, this.margin, this.onTap,this.visible = true
});