setStateOf method
Call setState() function from a StatefulWidget of this type.
Implementation
bool setStateOf(VoidCallback fn) {
final state = StateSet.stateIn(this);
// ignore: invalid_use_of_protected_member
state?.setState(fn);
return state != null;
}