Steppers and Forms in Flutter | Using steppers in Flutter | Steppers in Flutter @aseemwangoo#flutter

Published: 23 May 2018
on channel: aseem wangoo
7k
13

This video shows using stepper with forms in Flutter.

* Steppers and Forms in Flutter | Using steppers in Flutter *
This post includes a form with fields such as ( Name, Phone, Email). All these fields are placed in a stepper widget. Every step has 2 buttons: Continue and Cancel.

Clicking continues, leads to the next step while clicking cancel goes to the previous step.
On every form field, a validator is present
There are 3 main functions in steppers :

onStepContinue
onStepCancel
onStepTapped

If the validation is correct (checked on each and every step), then we go to the next step…. Finally, if every validation is correct, then you see an alert dialog with the details entered.

If something is found wrong on any step, a snack bar is shown…Else, formState.save() is called and as stated above alert dialog is shown.
Bonus, you might want to explore Validate package of flutter, which has in-built functionalities for validating various fields (e.g email, phone numbers)….

Website:

Medium blog:

For the complete source code, visit


In case, this helped, pass me a coffee!!



Watch video Steppers and Forms in Flutter | Using steppers in Flutter | Steppers in Flutter @aseemwangoo#flutter online without registration, duration 03 minute 05 second in high sd quality. This video was added by user aseem wangoo 23 May 2018, don't forget to share it with your friends and acquaintances, it has been viewed on our site 7 thousand once and liked it 13 people.