setChild method
You can set widget of dialog using this function, even the dialog already pop up. Set it Null to change it as default CircularProgressIndicator that already you set before
Implementation
@override
void setChild(Widget child) {
this.child = child;
}