GSHeading constructor

const GSHeading({
  1. Key? key,
  2. required String text,
  3. GSHeadingSizes? size,
  4. GSStyle? style,
  5. Locale? locale,
  6. int? maxLines,
  7. TextOverflow? overflow,
  8. Color? selectionColor,
  9. String? semanticsLabel,
  10. bool? softWrap,
  11. StrutStyle? strutStyle,
  12. TextAlign? textAlign,
  13. TextDirection? textDirection,
  14. TextHeightBehavior? textHeightBehavior,
  15. TextScaler? textScaler,
  16. TextWidthBasis? textWidthBasis,
  17. bool sub = false,
  18. bool bold = false,
  19. bool highlight = false,
  20. bool isTruncated = false,
  21. bool italic = false,
  22. bool strikeThrough = false,
  23. 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});