FigmaText constructor

const FigmaText(
  1. String text, {
  2. required double height,
  3. Key? key,
  4. TextStyle? style,
  5. double? width,
  6. AlignmentGeometry alignment = Alignment.centerLeft,
  7. TextAlign? textAlign,
  8. TextOverflow? overflow,
  9. int? maxLines,
  10. StrutStyle? strutStyle,
  11. TextDirection? textDirection,
  12. Locale? locale,
  13. bool? softWrap,
  14. TextScaler? textScaler,
  15. String? semanticsLabel,
  16. TextWidthBasis? textWidthBasis,
  17. TextHeightBehavior? textHeightBehavior,
  18. Color? selectionColor,
})

Implementation

const FigmaText(
  this.text, {
  required this.height,
  super.key,
  this.style,
  this.width,
  this.alignment = Alignment.centerLeft,
  this.textAlign,
  this.overflow,
  this.maxLines,
  this.strutStyle,
  this.textDirection,
  this.locale,
  this.softWrap,
  this.textScaler,
  this.semanticsLabel,
  this.textWidthBasis,
  this.textHeightBehavior,
  this.selectionColor,
});