SmartText constructor
const
SmartText({
- Key? key,
- String? text,
- TextStyle? textStyle,
- StrutStyle? strutStyle,
- int? maxLines,
- double? fontSize,
- Color? color,
- bool hideIfEmpty = false,
- EdgeInsetsGeometry? margin,
- TextAlign? textAlign,
- FontWeight? fontWeight,
- TextOverflow? overflow,
- EdgeInsetsGeometry? padding,
- GestureTapCallback? onTap,
- double? height,
- 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);