adding TextEditingController disables textfield flutter code example
Example 1: flutter disable text form field
TextFormField(
enabled: false, //Not clickable and not editable
readOnly: true, //Clickable and not editable
)
Example 2: flutter text field
TextField(
decoration: InputDecoration(
border: InputBorder.none,
hintText: 'Enter a search term'
),
);