HubbleText constructor
const
HubbleText(
- String? data, {
- Key? key,
- TextStyle? style,
- StrutStyle? strutStyle,
- TextAlign? textAlign,
- TextDirection? textDirection,
- Locale? locale,
- bool? softWrap,
- TextOverflow? overflow,
- double? textScaleFactor = 1,
- int? maxLines,
- String? semanticsLabel,
- TextWidthBasis? textWidthBasis = TextWidthBasis.parent,
- TextHeightBehavior? textHeightBehavior = const TextHeightBehavior(applyHeightToFirstAscent: false, leadingDistribution: TextLeadingDistribution.proportional, applyHeightToLastDescent: false),
- InlineSpan? textSpan,
Implementation
const HubbleText(
this.data, {
super.key,
this.style,
this.strutStyle,
this.textAlign,
this.textDirection,
this.locale,
this.softWrap,
this.overflow,
this.textScaleFactor = 1,
this.maxLines,
this.semanticsLabel,
this.textWidthBasis = TextWidthBasis.parent,
this.textHeightBehavior = const TextHeightBehavior(
applyHeightToFirstAscent: false,
leadingDistribution: TextLeadingDistribution.proportional,
applyHeightToLastDescent: false,
),
this.textSpan,
}) : children = null;