int var =int.parse(_section_id.text);
Reference
How can i get int data from TextEditingController in flutter
i want to get int data entered in the TextField() in flutter, i using TextEditingController: TextEditingController _section_id = new TextEditingController(); and using this controller in it: Tex...
stackoverflow.com
728x90
'Flutter' 카테고리의 다른 글
| [Flutter] flutter remove textfield underline (0) | 2022.04.28 |
|---|---|
| [Flutter] dart get index of list by item (0) | 2022.04.27 |
| [Flutter] How to convert List to String without [] (0) | 2022.04.27 |
| [Flutter] flutter multiple api calls ; 여러개의 response 처리하기 (0) | 2022.04.27 |
| [Flutter] sizedbox shrink with max height ; child의 크기에 따라서 박스 높이 조절하기 (0) | 2022.04.25 |