VRichText constructor

const VRichText(
  1. List<InlineSpan> _children, {
  2. TextAlign? align,
  3. TextDirection? textDirection,
  4. TextOverflow? overflow,
  5. int? maxLines,
  6. 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;