From a3844b3e52eb7bed3b8b90992e4060c56ba0159f Mon Sep 17 00:00:00 2001 From: Lukas Grossberger Date: Wed, 29 May 2024 17:54:36 +0200 Subject: [PATCH] tweak location form field styling --- lib/ui/locations/check_in/widget.dart | 5 +++-- lib/ui/locations/schedule/widget.dart | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/ui/locations/check_in/widget.dart b/lib/ui/locations/check_in/widget.dart index 100ae1f..ac9f3f3 100644 --- a/lib/ui/locations/check_in/widget.dart +++ b/lib/ui/locations/check_in/widget.dart @@ -144,18 +144,19 @@ class _MyFormState extends State { key: const Key('myForm_titleInput'), controller: _titleController, decoration: const InputDecoration( - helperText: 'What are you up to and for how long?', + border: OutlineInputBorder(), helperMaxLines: 2, labelText: 'Title', errorMaxLines: 2, ), textInputAction: TextInputAction.done, ), + const SizedBox(height: 8), TextFormField( key: const Key('myForm_detailsInput'), controller: _detailsController, decoration: const InputDecoration( - helperText: "More details to share about what you're up to", + border: OutlineInputBorder(), helperMaxLines: 2, labelText: 'Details', errorMaxLines: 2, diff --git a/lib/ui/locations/schedule/widget.dart b/lib/ui/locations/schedule/widget.dart index 0ee5c1e..ba98644 100644 --- a/lib/ui/locations/schedule/widget.dart +++ b/lib/ui/locations/schedule/widget.dart @@ -167,20 +167,21 @@ class _MyFormState extends State { key: const Key('myForm_titleInput'), controller: _titleController, decoration: const InputDecoration( - // helperText: 'What are you up to?', + border: OutlineInputBorder(), helperMaxLines: 2, labelText: 'Title', errorMaxLines: 2, ), textInputAction: TextInputAction.done, )), + const SizedBox(height: 8), Padding( padding: const EdgeInsets.only(left: 16, right: 16), child: TextFormField( key: const Key('myForm_detailsInput'), controller: _detailsController, decoration: const InputDecoration( - // helperText: "More details to share about what you're up to", + border: OutlineInputBorder(), helperMaxLines: 2, labelText: 'Details', errorMaxLines: 2,