1. To retrieve the text a user has entered into a text field, create a TextEditingController and supply it to a TextField or TextFormField.
2. Important: Call dispose of the TextEditingController when you’ve finished using it. This ensures that you discard any resources used by the object.
3.onGenerateRoute() function link • Flutter Tutorial - [o...
4.TextField & Buttons • flutter for Beginners
Негізгі бет Flutter tutorial - TextField Controller | dispose بالعربي
Пікірлер: 5