How do you change the value inside of a textfield flutter?

后端 未结 10 1703
忘掉有多难
忘掉有多难 2020-12-06 08:49

I have a TextEditingController where if a user clicks a button it fills in with information. I can\'t seem to figure out how to change the text inside of a

10条回答
  •  渐次进展
    2020-12-06 09:29

    step 1) Declare TextEditingController.

    step 2) supply controller to the TextField.

    step 3) user controller's text property to change the value of the textField.

    follow this official solution to the problem

提交回复
热议问题