layouting

main
Julian Gegner 2023-02-26 17:09:25 +01:00
parent 646a97926d
commit 68033a64a5
3 changed files with 4 additions and 3 deletions

View File

@ -22,7 +22,7 @@ class MoodForm extends StatelessWidget {
return Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
ElevatedCard(
const ElevatedCard(
title: 'Stimmungsbewertung',
child: MySlider(),
),
@ -31,6 +31,9 @@ class MoodForm extends StatelessWidget {
title: 'Beschreibe deine Stimmung',
child: MyTextFormField('Beschreibe deine Stimmung'),
),
const SizedBox(
height: 80,
),
ElevatedButton(
onPressed: () => inputModel.saveMood(),
child: const Text('Speichern'),

View File

@ -18,7 +18,6 @@ class SleepForm extends StatelessWidget {
return Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [
ElevatedCard(
title: 'Einschlafzeit',

View File

@ -20,7 +20,6 @@ class TimePicker extends StatelessWidget {
const SizedBox(width: 16),
ElevatedButton(
onPressed: () async {
//TODO auslagern
TimeOfDay? newTime = await showTimePicker(
context: context,
initialTime: inputModel.getTimeEntry(keyMap),