SmartText constructor

const SmartText(
  1. String text, {
  2. required SmartTextStyle styleBuilder(
    1. SmartTextStyles styles
    ),
  3. Key? key,
  4. bool useLineHeight = false,
  5. TextAlign? textAlign,
  6. int? maxLines,
  7. TextOverflow? textOverflow,
  8. Color? color,
  9. double? fontSize,
  10. Color? surface,
  11. 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,
});