add min ammount of lines to body input
This commit is contained in:
parent
9af7a62c4b
commit
da3613e5e2
|
@ -191,6 +191,7 @@ class CreatePost extends HookWidget {
|
||||||
controller: bodyController,
|
controller: bodyController,
|
||||||
keyboardType: TextInputType.multiline,
|
keyboardType: TextInputType.multiline,
|
||||||
maxLines: null,
|
maxLines: null,
|
||||||
|
minLines: 5,
|
||||||
textAlignVertical: TextAlignVertical.top,
|
textAlignVertical: TextAlignVertical.top,
|
||||||
decoration:
|
decoration:
|
||||||
InputDecoration(border: OutlineInputBorder(), labelText: 'Body'),
|
InputDecoration(border: OutlineInputBorder(), labelText: 'Body'),
|
||||||
|
|
Loading…
Reference in New Issue