isDisabled property

bool get isDisabled

Returns true if the current boolean value is disabled, otherwise false.

Implementation

bool get isDisabled => !this;