From 656c909a14e2e77fb5ef60083e895e0598aa85d7 Mon Sep 17 00:00:00 2001 From: Hamid Reza Mohammadi Date: Fri, 8 Dec 2023 18:38:36 +0330 Subject: [PATCH] bug fix --- lib/forms/login.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/forms/login.dart b/lib/forms/login.dart index 9bbedb5..dc1d0f5 100644 --- a/lib/forms/login.dart +++ b/lib/forms/login.dart @@ -88,7 +88,7 @@ class LoginFormState extends State { } return null; }, - onFieldSubmitted: (value) => _login(), + onFieldSubmitted: (_) => _login(), decoration: const InputDecoration( icon: Icon(Icons.mail), hintText: 'پست الکترونیکی', @@ -105,7 +105,7 @@ class LoginFormState extends State { } return null; }, - onFieldSubmitted: (value) => _login(), + onFieldSubmitted: (_) => _login(), decoration: const InputDecoration( icon: Icon(Icons.lock), hintText: 'گذرواژه',