enabled property

bool enabled
final

Whether the form is able to receive user input.

Defaults to true. If autovalidateMode is not AutovalidateMode.disabled, the field will be auto validated. Likewise, if this field is false, the widget will not be validated regardless of autovalidateMode.

Implementation

final bool enabled;