You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
void validateUserEmail(String value) {
if (value.isEmpty) {
formErrorStore.userEmail = "Email cant be empty";
} else if (!isEmail(value)) {
formErrorStore.userEmail = 'Lütfen geçerli bir email giriniz';
} else {
formErrorStore.userEmail = null;
}
}
Iam use localizations AppLocalizations.of(context).translate('email_not_empty') instead of "Email cant be empty". But context error.
The text was updated successfully, but these errors were encountered:
form_store.dart
void validateUserEmail(String value) {
if (value.isEmpty) {
formErrorStore.userEmail = "Email cant be empty";
} else if (!isEmail(value)) {
formErrorStore.userEmail = 'Lütfen geçerli bir email giriniz';
} else {
formErrorStore.userEmail = null;
}
}
Iam use localizations AppLocalizations.of(context).translate('email_not_empty') instead of "Email cant be empty". But context error.
The text was updated successfully, but these errors were encountered: