GrxText constructor
const
GrxText(
- String? text, {
- Key? key,
- required TextStyle style,
- GrxTextTransform transform = GrxTextTransform.none,
- StrutStyle? strutStyle,
- TextAlign? textAlign,
- TextDirection? textDirection,
- Locale? locale,
- bool? softWrap,
- int? maxLines,
- String? semanticsLabel,
- TextWidthBasis? textWidthBasis,
- TextHeightBehavior? textHeightBehavior,
- Color? selectionColor,
- bool isLoading = false,
- bool shouldLinkify = false,
Creates a Design System's Text.
Implementation
const GrxText(
this.text, {
super.key,
required this.style,
this.transform = GrxTextTransform.none,
this.strutStyle,
this.textAlign,
this.textDirection,
this.locale,
this.softWrap,
this.maxLines,
this.semanticsLabel,
this.textWidthBasis,
this.textHeightBehavior,
this.selectionColor,
this.isLoading = false,
this.shouldLinkify = false,
}) : textSpan = null;