isDisabled property Null safety

bool isDisabled

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

Implementation

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