TextCenter constructor

const TextCenter(
  1. String? data, {
  2. Key? key,
  3. TextStyle? style,
  4. Color? color,
  5. double? size,
  6. StrutStyle? strutStyle,
  7. TextAlign? textAlign,
  8. TextDirection? textDirection,
  9. bool bold = false,
  10. Locale? locale,
  11. bool? softWrap,
  12. TextOverflow? overflow,
  13. double? textScaleFactor,
  14. int? maxLines,
  15. String? semanticsLabel,
  16. TextWidthBasis? textWidthBasis,
  17. 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);