onSetState method
Implementation
void onSetState(bool show, {Widget? child}) {
if (this.show != show) {
this.show = show;
if (child != null) {
this.child = child;
}
if (!mounted) {
return;
}
setState(() {});
}
}