I would like to make a text field that starts with 5 blank lines and that grows when the users types more than 5 lines.
I already have this code:
new Container(
margin: EdgeInsets.all(10.0),
child: TextFormField(
maxLines: null,
keyboardType: TextInputType.multiline,
decoration: InputDecoration(labelText: 'Enter description'),
controller: descriptionController,
)
)
But now I want the text field to start with 5 lines.
Thanks in advance!