removeCustomState method
void
removeCustomState(
- S _state
remove _state
from customState and rebuild
Implementation
void removeCustomState(S _state) {
if (customState.remove(_state)) {
setState(() {});
}
}