BasicTitle constructor

const BasicTitle(
  1. String text, {
  2. Key? key,
  3. required BasicTitleType titleType,
  4. FontWeight? fontWeight,
  5. double? fontSize,
  6. Color? color,
  7. double? height,
  8. StrutStyle? strutStyle,
  9. TextAlign? textAlign,
  10. TextDirection? textDirection,
  11. Locale? locale,
  12. bool? softWrap,
  13. TextOverflow? overflow,
  14. double? textScaleFactor,
  15. int? maxLines,
  16. String? semanticsLabel,
  17. TextWidthBasis? textWidthBasis,
  18. TextHeightBehavior? textHeightBehavior,
  19. Color? selectionColor,
})

Implementation

const BasicTitle(
  this.text, {
  Key? key,
  required this.titleType,
  this.fontWeight,
  this.fontSize,
  this.color,
  this.height,
  this.strutStyle,
  this.textAlign,
  this.textDirection,
  this.locale,
  this.softWrap,
  this.overflow,
  this.textScaleFactor,
  this.maxLines,
  this.semanticsLabel,
  this.textWidthBasis,
  this.textHeightBehavior,
  this.selectionColor,
}) : super(key: key);