XfdnText constructor

const XfdnText(
  1. String text, {
  2. double? fontSize = 14,
  3. TextAlign textAlign = TextAlign.start,
  4. Color? textColor = Colors.black,
  5. FontWeight fontWeight = FontWeight.normal,
  6. int? maxLines,
  7. double? fontHeight = 1,
  8. TextStyle? style,
  9. VoidCallback? onPressed,
  10. TextOverflow? overflow,
  11. bool? softWrap,
  12. EdgeInsets? padding,
  13. TextHeightBehavior? textHeightBehavior,
  14. Key? key,
  15. 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,
});