maxLines property

int maxLines
final

The maximum number of lines to show at one time, wrapping if necessary (https://api.flutter.dev/flutter/material/TextField/maxLines.html)

Default: 1

Implementation

final int maxLines;