RichTextProxy constructor
const
RichTextProxy({
- required RichText child,
- required TextStyle textStyle,
- required TextAlign textAlign,
- required TextDirection textDirection,
- required Locale locale,
- required StrutStyle strutStyle,
- double textScaleFactor = 1.0,
- TextWidthBasis textWidthBasis = TextWidthBasis.parent,
- TextHeightBehavior? textHeightBehavior,
- Key? key,
Child argument should be an instance of RichText widget.
Implementation
const RichTextProxy(
{required RichText child,
required this.textStyle,
required this.textAlign,
required this.textDirection,
required this.locale,
required this.strutStyle,
this.textScaleFactor = 1.0,
this.textWidthBasis = TextWidthBasis.parent,
this.textHeightBehavior,
Key? key})
: super(key: key, child: child);