From c1e06a739a8412f3545c620705b365a49ff85d2f Mon Sep 17 00:00:00 2001 From: Fatimah Alshammari Date: Thu, 7 Apr 2022 12:01:58 +0300 Subject: [PATCH] fix issues --- lib/classes/utils.dart | 2 +- lib/pages/user/register_page.dart | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/classes/utils.dart b/lib/classes/utils.dart index bef8218..56e5802 100644 --- a/lib/classes/utils.dart +++ b/lib/classes/utils.dart @@ -11,7 +11,7 @@ class Utils { static void showToast(String message) { Fluttertoast.showToast( - msg: message, toastLength: Toast.LENGTH_SHORT, gravity: ToastGravity.BOTTOM, timeInSecForIosWeb: 1, backgroundColor: Colors.black54, textColor: Colors.white, fontSize: 16.0); + msg: message, toastLength: Toast.LENGTH_SHORT, gravity: ToastGravity.BOTTOM, timeInSecForIosWeb: 2, backgroundColor: Colors.black54, textColor: Colors.white, fontSize: 16.0); } static dynamic getNotNullValue(List list, int index) { diff --git a/lib/pages/user/register_page.dart b/lib/pages/user/register_page.dart index f20f2f9..6e4d968 100644 --- a/lib/pages/user/register_page.dart +++ b/lib/pages/user/register_page.dart @@ -46,7 +46,7 @@ class RegisterPage extends StatelessWidget { }); return DropdownField((DropValue value) { role = value.id; - }, list: dropList, hint: "Chosse Role"); + }, list: dropList, hint: "Select Role"); } else { return CircularProgressIndicator(); } @@ -64,7 +64,7 @@ class RegisterPage extends StatelessWidget { return DropdownField((DropValue value) { countryCode = value.subValue; countryId = value.id; - }, list: dropList, hint: "Chosse Country"); + }, list: dropList, hint: "Select Country"); } else { return CircularProgressIndicator(); }