Flutter - How forms works with inputs tutorial

Опубликовано: 22 Июнь 2026
на канале: Aspiiire
42
2

Using forms with the validate and save method will help you save a lot of time without going through all the inputs and getting one-by-one values. Here I'll show you why and how you should use forms, how they work, and how the validate method and the save method work.



THIS IS AN UPLOAD OF AN OLD VIDEO FROM MY PREVIOUS CHANNEL!!!

📝 Written tutorial? https://priiimo.com/en/computer-scien...

-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------

⌚ 00:00 Start00:03 Goal of video00:53 Intro01:00 Why use forms01:28 How forms work02:54 Writing code03:24 Creating globalKey05:30 Creating our TextFormField fields08:50 Defining validators12:57 Creating User class13:48 Defining onSaved functions15:36 Using validate() and save() methods17:04 Testing that all working


-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------

US -
Mic: https://amzn.to/3kfeFpK
Mouse: https://amzn.to/3aIyL8G

PC spec. 💻
Cooler: https://amzn.to/3dEAkqg
CPU Ryzen: https://amzn.to/2NvUR5E
Graphic Card Nvidia: https://amzn.to/2ZFI96X
Tower: https://amzn.to/3pM9COA
Motherboard: https://amzn.to/3kju1JR

-------------------------------------------------------------------------------------

UK -
Mic: https://amzn.to/3aKLyaX
Mouse: https://amzn.to/2ZIGgpS

PC spec. 💻
Cooler: https://amzn.to/37BxY7C
CPU Ryzen: https://amzn.to/3pLDtqv
Graphic Card Nvidia (different variant, I have "Cerberus", not present) https://amzn.to/2NPkXAk
Tower: https://amzn.to/2MfA2L1
Motherboard: https://amzn.to/37FmzDQ

-------------------------------------------------------------------------------------

EU -
Mic: https://amzn.to/3sdMj1W
Mouse (Horizontal): https://amzn.to/37BeyQ9

PC spec. 💻
Cooler: https://amzn.to/2NLv7Sv
CPU Ryzen: https://amzn.to/2P0oVqt
Graphic Card Nvidia: https://amzn.to/3qHh7aV
Tower: https://amzn.to/3bwtfVM
Motherboard: https://amzn.to/2P1juri

-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------

🎥 Playlists 🎥

More Flutter tutorials -
   • Flutter Tutorials For Beginners  

Web Development -
   • Web Development  

-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------

🔥 Follow me here 🔥
DEV.TO 🔥 https://dev.to/aspiiire
Twitter 🔥   / aspiiire2  
HashNode 🔥 https://aspiiire.hashnode.dev/

Remember to subscribe if you enjoy the content 👋 Have a good day 😉🔥

#flutter #flutterForms #flutterTutorials #flutterBeginner