OverlineText constructor

const OverlineText(
  1. String text, {
  2. Key? key,
  3. TextStyle? style,
  4. TextAlign? textAlign,
  5. InlineSpan? textSpan,
  6. StrutStyle? strutStyle,
  7. TextDirection? textDirection,
  8. Locale? locale,
  9. bool? softWrap,
  10. TextOverflow? overflow,
  11. double? textScaleFactor,
  12. int? maxLines,
  13. String? semanticsLabel,
  14. TextWidthBasis? textWidthBasis,
})

Text Widget with the overline theme style.

return Text(text, style: context.textTheme.overline);

Implementation

const OverlineText(
  this.text, {
  Key? key,
  this.style,
  this.textAlign,
  this.textSpan,
  this.strutStyle,
  this.textDirection,
  this.locale,
  this.softWrap,
  this.overflow,
  this.textScaleFactor,
  this.maxLines,
  this.semanticsLabel,
  this.textWidthBasis,
}) : super(key: key);