multiline text field flutter code example
Example 1: how to enable multiline text form fields flutter
TextField(
keyboardType: TextInputType.multiline,
maxLines: null,
)
Example 2: flutter multiline text field
new TextField(
keyboardType: TextInputType.multiline,
maxLines: whatever,
)
Example 3: how to flutter multiple line text
Text(
"TOP ADDED",
textAlign: TextAlign.justify,
overflow: TextOverflow.ellipsis,
style: TextStyle(fontSize: 18.0),
maxLines: 2,)