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 prefix, suffix and the clear button.

Implementation

final bool? enabled;