setState method
void
setState(
- T updater(
- T current
Implementation
void setState(T Function(T current) updater) {
push(updater(_state));
}
void setState(T Function(T current) updater) {
push(updater(_state));
}