GrxDisplaySmallText constructor

const GrxDisplaySmallText(
  1. String? text, {
  2. Key? key,
  3. TextAlign? textAlign,
  4. GrxTextTransform transform = GrxTextTransform.none,
  5. Color? color,
  6. FontWeight? fontWeight,
  7. TextDecoration? decoration,
  8. TextOverflow? overflow,
  9. bool isLoading = false,
  10. StrutStyle? strutStyle,
  11. TextDirection? textDirection,
  12. Locale? locale,
  13. bool? softWrap,
  14. int? maxLines,
  15. String? semanticsLabel,
  16. TextWidthBasis? textWidthBasis,
  17. TextHeightBehavior? textHeightBehavior,
  18. Color? selectionColor,
  19. bool shouldLinkify = false,
})

Creates a Design System's Text.

Implementation

const GrxDisplaySmallText(
  this.text, {
  super.key,
  this.textAlign,
  this.transform = GrxTextTransform.none,
  this.color,
  this.fontWeight,
  this.decoration,
  this.overflow,
  this.isLoading = false,
  this.strutStyle,
  this.textDirection,
  this.locale,
  this.softWrap,
  this.maxLines,
  this.semanticsLabel,
  this.textWidthBasis,
  this.textHeightBehavior,
  this.selectionColor,
  this.shouldLinkify = false,
}) : textSpan = null,
     style = null;