[英]how can i send data to server and instant update listview from json in same fragment
[英]How can I send data from ListView into TextField in Flutter?
因此,首先您需要使用TextFormField
字段构建您的 From 并将TextEditingController
分配给该字段,使用建议创建您的ListView
并在按下项目时使其弹出结果,现在使用TextFormField
onTap
function 导航到ListView
然后使用 Controller 将返回值分配给字段
您可以使用TextEditingController
来制作您需要的功能。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.