Skip to content

flutterings/form_submit_button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Make use of FormState in a StatelessWidget Form.

A button to be used in a Form, which will pass the Form's state in the onPressed method.

Why use StatelessWidget?

If you are using the container/presentation pattern and want to use the Form as a presentation component, which most of the time you do, you would want somehow to get a hold of the FormState.

How to use it

Check the example.

About

A button to be used in a Form, which will pass the Form's state in the onPressed method.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages