setState method
Calls the State object's setState() function if not already in the SetState.builder() function (see class SetState below).
Implementation
@override
void setState(VoidCallback fn) {
if (!inBuilder) {
super.setState(fn);
}
}
Calls the State object's setState() function if not already in the SetState.builder() function (see class SetState below).
@override
void setState(VoidCallback fn) {
if (!inBuilder) {
super.setState(fn);
}
}