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.

Implementation

final bool enabled;