BasicTitle constructor
const
BasicTitle(
- String text, {
- Key? key,
- required BasicTitleType titleType,
- FontWeight? fontWeight,
- double? fontSize,
- Color? color,
- double? height,
- StrutStyle? strutStyle,
- TextAlign? textAlign,
- TextDirection? textDirection,
- Locale? locale,
- bool? softWrap,
- TextOverflow? overflow,
- double? textScaleFactor,
- int? maxLines,
- String? semanticsLabel,
- TextWidthBasis? textWidthBasis,
- TextHeightBehavior? textHeightBehavior,
- 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);