SeoText.subheading constructor
const
SeoText.subheading(
- String text, {
- Key? key,
- TextStyle? style,
- TextAlign? textAlign,
- int? maxLines,
- TextOverflow? overflow,
- TextDirection? textDirection,
Creates an SEO-friendly h2 subheading
Implementation
const SeoText.subheading(
this.text, {
super.key,
this.style,
this.textAlign,
this.maxLines,
this.overflow,
this.textDirection,
}) : htmlTag = 'h2',
_isHeading = true;