GrxDisplayText constructor

const GrxDisplayText(
  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,
})

Creates a Design System's Text.

Implementation

const GrxDisplayText(
  this.text, {
  super.key,
  this.textAlign,
  this.transform = GrxTextTransform.none,
  this.color,
  this.fontWeight,
  this.decoration,
  this.overflow,
  this.isLoading = false,
}) : textSpan = null,
     style = null;