errorMaxLines property Null safety

int? errorMaxLines
final

The maximum number of lines the InputDecoration.errorText can occupy.

Defaults to null, which means that the InputDecoration.errorText will be limited to a single line with TextOverflow.ellipsis.

This value is passed along to the Text.maxLines attribute of the Text widget used to display the error.

See also:

Implementation

final int? errorMaxLines;