disable a textbox from a button flutter code example
Example: flutter disable text form field
TextFormField(
enabled: false, //Not clickable and not editable
readOnly: true, //Clickable and not editable
)
TextFormField(
enabled: false, //Not clickable and not editable
readOnly: true, //Clickable and not editable
)