disabled property Null safety

bool disabled

A control is disabled when its status is ControlStatus.disabled.

Implementation

bool get disabled => status == ControlStatus.disabled;