enabled property

bool? enabled
final

Disables the text field when false.

Text fields in disabled states have a light grey background and don't respond to touch events including the prefixIcon and suffixIcon button.

Implementation

final bool? enabled;