enabled property

bool enabled
final

If false the widget is "disabled": it ignores taps, the TextFormField's decoration is rendered in grey, decoration's InputDecoration.counterText is set to "", and the drop down icon is hidden no matter showDropdownIcon value.

If non-null this property overrides the decoration's Decoration.enabled property.

Implementation

final bool enabled;