fix issues

fatima
Fatimah Alshammari 4 years ago
parent 5c0aa4074c
commit c1e06a739a

@ -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<dynamic> list, int index) {

@ -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();
}

Loading…
Cancel
Save