XfdnText constructor
const
XfdnText(
- String text, {
- double? fontSize = 14,
- TextAlign textAlign = TextAlign.start,
- Color? textColor = Colors.black,
- FontWeight fontWeight = FontWeight.normal,
- int? maxLines,
- double? fontHeight = 1,
- TextStyle? style,
- VoidCallback? onPressed,
- TextOverflow? overflow,
- bool? softWrap,
- EdgeInsets? padding,
- TextHeightBehavior? textHeightBehavior,
- Key? key,
- TextDecoration decoration = TextDecoration.none,
Implementation
const XfdnText(
this.text, {
this.fontSize = 14,
this.textAlign = TextAlign.start,
this.textColor = Colors.black,
this.fontWeight = FontWeight.normal,
this.maxLines,
this.fontHeight = 1,
this.style,
this.onPressed,
this.overflow,
this.softWrap,
this.padding,
this.textHeightBehavior,
super.key,
this.decoration = TextDecoration.none,
});