SmartText constructor
const
SmartText(
- String text, {
- required SmartTextStyle styleBuilder(
- SmartTextStyles styles
- Key? key,
- bool useLineHeight = false,
- TextAlign? textAlign,
- int? maxLines,
- TextOverflow? textOverflow,
- Color? color,
- double? fontSize,
- Color? surface,
- TextDecorationData? decorationData,
Implementation
const SmartText(
this.text, {
required this.styleBuilder,
super.key,
this.useLineHeight = false,
this.textAlign,
this.maxLines,
this.textOverflow,
this.color,
this.fontSize,
this.surface,
this.decorationData,
});