layouting
parent
646a97926d
commit
68033a64a5
|
@ -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'),
|
||||
|
|
|
@ -18,7 +18,6 @@ class SleepForm extends StatelessWidget {
|
|||
|
||||
return Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||
children: [
|
||||
ElevatedCard(
|
||||
title: 'Einschlafzeit',
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue