Form Validation in Flutter | Null Safety

preview_player
Показать описание
In this video you will learn about the form validation in flutter. We have use From State to validate the form. You will able to validate form of username email and password.
Apply validation on characters and also use regular express to apply the valid email address for form submission.
Рекомендации по теме
Комментарии
Автор

a bilion man you saved me, I almost quit flutter bcuz of this problem, it really frustrated me. THANKS AGAIN!

skyfull
Автор

thank you very much I have solved my problem after watching your video

alimazen
Автор

Best video that are hard to find. Great Work

mailareva
Автор

@AB Nation Programmer You have made great video on flutter validation. So many days i am waiting for such conceptful video and now i found your video. With the help of your tutorial my all the concept are cleared and now i can make any form validation with my own. Thanks for such good tutorial and now make new video on flutter firebase integration where we can authenticate user while sign up or sign in. Authentication using Email & Password and Sign in with google or facebook. Waiting for your next video on firebase flutter.

shubham_
Автор

One more thing I want to tell you that while uploading video on youtube please make sure that you also upload the source code of that tutorial.

shubham_
Автор

Brother you made my concept clear...when will be the next video..?

saurabhbhalerao
Автор

Hi there, When I did this method on my code the validator function only execute the else condition only. ("Not validated"), I don't know what is the problem. could you please help me ?

codboxer
Автор

This is my code

TextBoxStyled(
hintText: 'Name',
buttonAction: (String? value) {
if (value == null || value.trim().length == 0) {
return "Name is required";
}
return '';
},
),

final GlobalKey<FormState> _formKey = GlobalKey<FormState>();

validator() {
if (_formKey.currentState != null && {
print('Form Validated');
} else {
print('Not validated');
}
}

please help me. I am done based on your video but my form in not validating

codboxer