replaceCustomState method
replace customState by states
and rebuild
Implementation
void replaceCustomState(Set<S> states) {
customState.clear();
customState.addAll(states);
setState(() {});
}
replace customState by states
and rebuild
void replaceCustomState(Set<S> states) {
customState.clear();
customState.addAll(states);
setState(() {});
}