isDisabled property

bool get isDisabled

Getter for whether this class considers MaterialState.disabled to be active.

Implementation

bool get isDisabled => materialStates.contains(MaterialState.disabled);