If I have an editable form "add and edit", which is the best practice to save text from Text Fields Controllers? in view or in controller like bloc or provider?
If I have an editable form "add and edit", which is the best practice to save text from Text Fields Controllers? in view or in controller like bloc or provider?
It is best practice to keep UI related aspects together. So I would recommend storing the TextEditingController within a widget.
Most likely you would need a stateful widget.