GSHeading constructor
const
GSHeading({
- Key? key,
- required String text,
- GSHeadingSizes? size,
- GSStyle? style,
- Locale? locale,
- int? maxLines,
- TextOverflow? overflow,
- Color? selectionColor,
- String? semanticsLabel,
- bool? softWrap,
- StrutStyle? strutStyle,
- TextAlign? textAlign,
- TextDirection? textDirection,
- TextHeightBehavior? textHeightBehavior,
- TextScaler? textScaler,
- TextWidthBasis? textWidthBasis,
- bool sub = false,
- bool bold = false,
- bool highlight = false,
- bool isTruncated = false,
- bool italic = false,
- bool strikeThrough = false,
- bool underline = false,
Implementation
const GSHeading(
{super.key,
required this.text,
this.size,
this.style,
this.locale,
this.maxLines,
this.overflow,
this.selectionColor,
this.semanticsLabel,
this.softWrap,
this.strutStyle,
this.textAlign,
this.textDirection,
this.textHeightBehavior,
this.textScaler,
this.textWidthBasis,
this.sub = false,
this.bold = false,
this.highlight = false,
this.isTruncated = false,
this.italic = false,
this.strikeThrough = false,
this.underline = false});