Flutter Form Validation | Flutter TextField Validation | Flutter TextFormField

Поділитися
Вставка
  • Опубліковано 17 лип 2021
  • You will learn how to validate fluter form. Flutter form validation happens with flutter textformfield validator. TextFormField has a validator property. We can use that property to validate with regex expressions.
    Download the starter code from the link below
    github.com/dastagir-ahmed/flu...
    📕📕📕📕📕📕 (13+ hours)
    www.udemy.com/course/flutter-...
    Follow me on twitter
    / dbestech
    Follow me on facebook
    / dbestech

КОМЕНТАРІ • 67

  • @gilmcglory3748
    @gilmcglory3748 3 роки тому +3

    Very excellent Flutter & Laravel tutorials! I am really enjoying them all, learning a lot and looking forward to more. Thanks so much!

    • @dbestech
      @dbestech  3 роки тому

      Thank you Gil. Yes, I do too. I love laravel and flutter. Coming more soon. Don't forget to subscribe and share the tutorial. Spread laravel around the world. hahah

  • @darul-asar381
    @darul-asar381 2 роки тому +1

    Exactly what I was looking for, thanks for the clear explanation

    • @dbestech
      @dbestech  2 роки тому

      Glad it was helpful!

  • @StudyStream1998
    @StudyStream1998 Рік тому

    Thanks for the amazing content.

  • @kanwalnaseer5629
    @kanwalnaseer5629 Рік тому

    highly recommended ........thank you for such a best and to the point video

  • @sumeetsolse3749
    @sumeetsolse3749 Рік тому

    Respected Sir,
    This video is very very useful for new comers and Thanks a lot for such great content, Go ahead........LSS👍👍👍

  • @omar-senpaiii
    @omar-senpaiii 2 роки тому

    Brilliant!

  • @kalashchoudhary4713
    @kalashchoudhary4713 Рік тому

    Best video ever, everyone must prefer this video

  • @arpanpatel-rr2ww
    @arpanpatel-rr2ww Рік тому

    is it any way to differentiate errortext padding of validator and contentpadding of textformfield because both labeltext and errortext are based on contentpadding of textformfield

  • @muhibmallick7708
    @muhibmallick7708 Рік тому +4

    sir please do provide me full code of this specially the skip part

  • @hoshankahmd1152
    @hoshankahmd1152 2 роки тому +2

    thank you for the great explanation, but the snackbar is not showing when clicking the button, can you please explain line 98 "_scaffoldkey.currentstate...."

  • @tech_voyager
    @tech_voyager Рік тому

    Thank you so much you saved my life

  • @vivekpaanchal
    @vivekpaanchal Рік тому

    Can we set it as , we can only use come specific e-mail domain bcs I want to develop an app for my university it's have 2 domains 1 fir students & 1 for teachers.

  • @junaidjameel5049
    @junaidjameel5049 Рік тому

    Thank you So much Sir.

  • @wakanimeashita2887
    @wakanimeashita2887 2 роки тому +1

    can you please explain why you added an exclamation point "!" after the value in .hasMatch(value!) I'm getting errors because of that I don't understand why

    • @dbestech
      @dbestech  2 роки тому

      Hi Ashita, it tells the compiler that, it's null safe. It means the variable value is not null. If you get this error then it's a version problem of your dart language.

  • @msc8518
    @msc8518 2 роки тому

    This video is very useful ,

    • @dbestech
      @dbestech  2 роки тому

      Glad you think so!

  • @hwwinn25
    @hwwinn25 2 роки тому

    Thank you dude

  • @ieatcrayons3322
    @ieatcrayons3322 Рік тому

    ty bro

  • @user-ks5rv8wz4w
    @user-ks5rv8wz4w 2 роки тому

    thank you

  • @user-kp1ym2wl2j
    @user-kp1ym2wl2j 8 місяців тому +1

    your github is empty with this example(

  • @trevorfranks69
    @trevorfranks69 Рік тому

    how do you enable the launch emulator? when i run the code it opens on my chrome instead of the emulator

    • @dbestech
      @dbestech  Рік тому

      Just select the emulator before you run

  • @dk_sanaki2927
    @dk_sanaki2927 2 роки тому

    can I see a database transaction episode from your clip. Is there any that you have done.
    Thank you

    • @dbestech
      @dbestech  2 роки тому

      Sorry I don't have any video for that one.

  • @venusgemstechnicalservices
    @venusgemstechnicalservices 5 місяців тому

    superb

  • @pranksman7051
    @pranksman7051 Рік тому

    showSnackBar isn't available anymore, idk what to do

    • @dbestech
      @dbestech  Рік тому +1

      ScaffoldMessenger.of(context).showSnackBar(SnackBar(content: Text("your text")));
      this could help

  • @robertomejia3124
    @robertomejia3124 2 роки тому

    how about validate a form with a stepper ? is it similar ? pls help :)

    • @dbestech
      @dbestech  2 роки тому

      Hi Roberto, I haven't used stepper. You can try with it, if you want to

    • @justamandd
      @justamandd Рік тому

      It's the same, but you put "_formKey.currentState!.validate()" in onStepContinue, if is validated you increment one in you index var

  • @abdulhamidpatel2194
    @abdulhamidpatel2194 6 місяців тому

    For registration on any website Elon's son is definitely gonna have problems with it...... 😂😂

    • @dbestech
      @dbestech  6 місяців тому

      explain it..

  • @afnan9108
    @afnan9108 2 роки тому

    can you please make video on how to submit form to server

    • @dbestech
      @dbestech  2 роки тому +1

      yes, upcoming e-commerce site tutorial will cover this

  • @moosarazeek4902
    @moosarazeek4902 6 місяців тому

    Bro your project didn't completely commited to github

  • @moonnight9474
    @moonnight9474 3 роки тому +1

    good job

    • @dbestech
      @dbestech  3 роки тому

      you are welcome

    • @moonnight9474
      @moonnight9474 3 роки тому

      @@dbestech thank sir ! I'm looking forward to your soon making a tutorial on how to make an app ecommecer flutter(getx) + api

    • @moonnight9474
      @moonnight9474 3 роки тому +1

      it will very hot

    • @dbestech
      @dbestech  3 роки тому

      @@moonnight9474 Yes. I know. but e-commerce app is a big task.

    • @moonnight9474
      @moonnight9474 3 роки тому

      @@dbestech i know i just hope in the future u can make it

  • @bennievaneeden2720
    @bennievaneeden2720 Рік тому

    Is this a tutorial on validation for flutter fields or a regex tutorial?

  • @sheralikhtk5200
    @sheralikhtk5200 2 роки тому

    this doesnt work with a custom textfield

    • @dbestech
      @dbestech  2 роки тому

      Maybe need a little tweak. But I am not sure about your exact needs. giving more info would help me.

  • @trevorfranks69
    @trevorfranks69 Рік тому

    where's the submit button bro you just skipped it at the 14:00 mark

    • @dbestech
      @dbestech  Рік тому

      I think I explain it later

  • @premtamang709
    @premtamang709 2 роки тому

    Title says "TextField Validation" but, TextField is not even mentioned in video. What a tragedy. Title should be changed to "TextFormField() Validation " rather. Expectation VS Reality

    • @dbestech
      @dbestech  2 роки тому

      Hi Prem, I will change the title. Thank you

  • @Rams7810
    @Rams7810 Рік тому

    thank you