I need to disable TextFormField occasionally. I couldn\'t find a flag in the widget, or the controller to simply make it read only or disable. What is the best way to do it?
There is now a way to disable TextField and TextFormField. See github here. Use it like this:
TextField
TextFormField
TextField(enabled: false)