add min ammount of lines to body input

This commit is contained in:
krawieck 2020-10-25 01:16:58 +02:00
parent 9af7a62c4b
commit da3613e5e2
1 changed files with 1 additions and 0 deletions

View File

@ -191,6 +191,7 @@ class CreatePost extends HookWidget {
controller: bodyController,
keyboardType: TextInputType.multiline,
maxLines: null,
minLines: 5,
textAlignVertical: TextAlignVertical.top,
decoration:
InputDecoration(border: OutlineInputBorder(), labelText: 'Body'),