maxLines property
num
get
maxLines
Gets or sets the maximum number of lines that this TextBlock can display.
Value must be a greater than zero whole number or Infinity
.
The default is Infinity
.
Modifying this value may modify the computed height of the TextBlock. If maxLines is set, the value of #lineCount will never be larger than maxLines.
Implementation
_i2.num get maxLines => _i4.getProperty(
this,
'maxLines',
);
set
maxLines
(num value)
Implementation
set maxLines(_i2.num value) {
_i4.setProperty(
this,
'maxLines',
value,
);
}