How do I use TextFormField without form in Flutter?

To use without a Form, pass a GlobalKey to the constructor and use GlobalKey. currentState to save or reset the form field . When a controller is specified, its TextEditingController. text defines the initialValue.

Sizin İçin Seçtik  How do you enter decorations in flutter?

Leave a Reply

Your email address will not be published. Required fields are marked *

How do I use TextFormField without form in Flutter?

To use without a Form, pass a GlobalKey to the constructor and use GlobalKey. currentState to save or reset the form field . When a controller is specified, its TextEditingController. text defines the initialValue.

Sizin İçin Seçtik  What is the difference between TextField and TextFormField?

Leave a Reply

Your email address will not be published. Required fields are marked *