OverlineText constructor
const
OverlineText(
- String text, {
- Key? key,
- TextStyle? style,
- TextAlign? textAlign,
- InlineSpan? textSpan,
- StrutStyle? strutStyle,
- TextDirection? textDirection,
- Locale? locale,
- bool? softWrap,
- TextOverflow? overflow,
- double? textScaleFactor,
- int? maxLines,
- String? semanticsLabel,
- 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);