VRichText constructor
const
VRichText(
- List<
InlineSpan> _children, { - TextAlign? align,
- TextDirection? textDirection,
- TextOverflow? overflow,
- int? maxLines,
- TextHeightBehavior? textHeightBehavior,
Creates a VRichText with optional parameters.
Implementation
const VRichText(
this._children, {
TextAlign? align,
TextDirection? textDirection,
TextOverflow? overflow,
int? maxLines,
TextHeightBehavior? textHeightBehavior,
}) : _align = align,
_textDirection = textDirection,
_overflow = overflow,
_maxLines = maxLines,
_textHeightBehavior = textHeightBehavior;