From da3613e5e2969fd02d612ba6ca269fe1c731892e Mon Sep 17 00:00:00 2001 From: krawieck Date: Sun, 25 Oct 2020 01:16:58 +0200 Subject: [PATCH] add min ammount of lines to body input --- lib/pages/create_post.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pages/create_post.dart b/lib/pages/create_post.dart index 7baf5a8..df93109 100644 --- a/lib/pages/create_post.dart +++ b/lib/pages/create_post.dart @@ -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'),