GrxText.rich constructor

const GrxText.rich(
  1. InlineSpan? textSpan, {
  2. Key? key,
  3. required TextStyle style,
  4. GrxTextTransform transform = GrxTextTransform.none,
  5. StrutStyle? strutStyle,
  6. TextAlign? textAlign,
  7. TextDirection? textDirection,
  8. Locale? locale,
  9. bool? softWrap,
  10. int? maxLines,
  11. String? semanticsLabel,
  12. TextWidthBasis? textWidthBasis,
  13. TextHeightBehavior? textHeightBehavior,
  14. Color? selectionColor,
  15. bool isLoading = false,
  16. bool shouldLinkify = false,
})

Implementation

const GrxText.rich(
  this.textSpan, {
  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,
}) : text = null;