From 4dffa508872c228a8b87b1509489d7b95dbaf70d Mon Sep 17 00:00:00 2001 From: Arlind <56867496+Lindi31@users.noreply.github.com> Date: Wed, 14 Jun 2023 02:41:32 +0200 Subject: [PATCH] bug fix --- lib/main.dart | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index b242f1a..f46c4cc 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -708,7 +708,9 @@ class AddTransactionDialogState extends State { color: Colors.black54, ), ), - content: Column( + content: Form( + key: _formKey, // Hier wird das _formKey dem Form-Widget zugewiesen + child: Column( mainAxisSize: MainAxisSize.min, children: [ Neumorphic( @@ -787,7 +789,7 @@ class AddTransactionDialogState extends State { ], ), ], - ), + )), actions: [ NeumorphicButton( onPressed: () {