hintMaxLines property
final
The maximum number of lines the hintText can occupy.
Defaults to the value of TextField.maxLines attribute.
This value is passed along to the Text.maxLines attribute of the Text widget used to display the hint text. TextOverflow.ellipsis is used to handle the overflow when it is limited to single line.
Implementation
final int? hintMaxLines;