FigmaText constructor
const
FigmaText(
- String text, {
- required double height,
- Key? key,
- TextStyle? style,
- double? width,
- AlignmentGeometry alignment = Alignment.centerLeft,
- TextAlign? textAlign,
- TextOverflow? overflow,
- int? maxLines,
- StrutStyle? strutStyle,
- TextDirection? textDirection,
- Locale? locale,
- bool? softWrap,
- TextScaler? textScaler,
- String? semanticsLabel,
- TextWidthBasis? textWidthBasis,
- TextHeightBehavior? textHeightBehavior,
- 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,
});