isErrored property

bool isErrored

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

Implementation

bool get isErrored => materialStates.contains(MaterialState.error);