maxLength property
The maximum number of characters to display.
When set and text is longer, the text is truncated to maxLength
characters, with an ellipsis (...) appended if showEllipsis is true.
When null, the full text is displayed.
Implementation
final int? maxLength;