SeoText constructor

const SeoText(
  1. String text, {
  2. TextTag tag = TextTag.p,
  3. String? id,
  4. Key? key,
  5. TextStyle? style,
  6. StrutStyle? strutStyle,
  7. TextAlign? textAlign,
  8. TextDirection? textDirection,
  9. Locale? locale,
  10. bool? softWrap,
  11. TextOverflow? overflow,
  12. TextScaler? textScaler,
  13. int? maxLines,
  14. String? semanticsLabel,
  15. TextWidthBasis? textWidthBasis,
  16. TextHeightBehavior? textHeightBehavior,
  17. Color? selectionColor,
  18. void onTap()?,
})

Creates a SeoText widget.

Implementation

const SeoText(
  this.text, {
  this.tag = TextTag.p,
  this.id,
  super.key,
  this.style,
  this.strutStyle,
  this.textAlign,
  this.textDirection,
  this.locale,
  this.softWrap,
  this.overflow,
  this.textScaler,
  this.maxLines,
  this.semanticsLabel,
  this.textWidthBasis,
  this.textHeightBehavior,
  this.selectionColor,
  this.onTap,
});