Future<bool> validateForm() async { if (formsKey.currentState!.validate()) { return true; } else { return false; } }