SmartText constructor

const SmartText({
  1. Key? key,
  2. String? text,
  3. TextStyle? textStyle,
  4. StrutStyle? strutStyle,
  5. int? maxLines,
  6. double? fontSize,
  7. Color? color,
  8. bool hideIfEmpty = false,
  9. EdgeInsetsGeometry? margin,
  10. TextAlign? textAlign,
  11. FontWeight? fontWeight,
  12. TextOverflow? overflow,
  13. EdgeInsetsGeometry? padding,
  14. GestureTapCallback? onTap,
  15. double? height,
  16. String? fontFamily,
})

Implementation

const SmartText(
    {Key? key,
    this.text,
    this.textStyle,
    this.strutStyle,
    this.maxLines,
    this.fontSize,
    this.color,
    this.hideIfEmpty = false,
    this.margin,
    this.textAlign,
    this.fontWeight,
    this.overflow,
    this.padding,
    this.onTap,
    this.height,
    this.fontFamily})
    : super(key: key);