removeMaterialState method Null safety
- MaterialState state
protected">@protected
Mutator to mark a MaterialState value as inactive.
Implementation
@protected
void removeMaterialState(MaterialState state) {
if (materialStates.remove(state)) {
setState((){});
}
}