form_submit_button 0.2.0 copy "form_submit_button: ^0.2.0" to clipboard
form_submit_button: ^0.2.0 copied to clipboard

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

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.

0
likes
35
points
22
downloads

Publisher

verified publisherflutterings.dev

Weekly Downloads

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

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on form_submit_button