isDisabled property

bool isDisabled

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

Implementation

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