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