removeMaterialState method

  1. @protected
void removeMaterialState(
  1. MaterialState state
)

Mutator to mark a MaterialState value as inactive.

Implementation

@protected
void removeMaterialState(MaterialState state) {
  if (materialStates.remove(state)) {
    setState((){});
  }
}