TextCenter constructor
const
TextCenter(
- String? data, {
- Key? key,
- TextStyle? style,
- Color? color,
- double? size,
- StrutStyle? strutStyle,
- TextAlign? textAlign,
- TextDirection? textDirection,
- bool bold = false,
- Locale? locale,
- bool? softWrap,
- TextOverflow? overflow,
- double? textScaleFactor,
- int? maxLines,
- String? semanticsLabel,
- TextWidthBasis? textWidthBasis,
- TextHeightBehavior? textHeightBehavior,
Implementation
const TextCenter(
this.data, {
Key? key,
this.style,
this.color,
this.size,
this.strutStyle,
this.textAlign,
this.textDirection,
this.bold = false,
this.locale,
this.softWrap,
this.overflow,
this.textScaleFactor,
this.maxLines,
this.semanticsLabel,
this.textWidthBasis,
this.textHeightBehavior,
}) : super(key: key);