mirai
mirai copied to clipboard
How to assign a predefined `TextEditingController` or `FocusNode` to a `TextFormField` using JSON
Description
Consider a scenario where we are making a Form using mirai, and there are several TextFormFields. Each TextFormField needs to be assigned a declared local instance of TextEditingController or FocusNode. The mirai JSON is being fetched from some API end point. I want to know, how do I make sure that the correct instance of TextEditingController or FocusNode is assigned to the respective TextFormField even if the fields are rearranged in the JSON.
Requirements
- [ ] Checklist of requirements to be fulfilled
Additional Context
Add any other context or screenshots about the example request go here.