setChild method

  1. @override
void setChild(
  1. Widget child
)

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;
}