maxLines property

int? maxLines
final

最大显示行数。

显示不限制行数的多行文字时,需要将 maxLinesoverflow 同时设为 null

Implementation

final int? maxLines;