maxLines method

VRichText maxLines(
  1. int n
)

Sets max lines.

Implementation

VRichText maxLines(int n) => VRichText(
  _children,
  align: _align,
  textDirection: _textDirection,
  overflow: _overflow,
  maxLines: n,
  textHeightBehavior: _textHeightBehavior,
);