Reputation: 31
If i use the same variable in a Text Widget it works but not on TextFormField.
Upvotes: 3
Views: 772
Reputation: 793
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
Upvotes: 1