If i use the same variable in a Text Widget it works but not on TextFormField.
initialValue as its name indicates is TextFormField's initial text and rebuilding TextFormField with new initialValue doesn't have any effect. you can use controller instead of initialValue: Article
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.