show method
Implementation
OverlayX show([BuildContext? context]) {
switch (state) {
case OverlayXState.init:
state = OverlayXState.preShowing;
delayMills(0, bindOne(context, _asyncShow));
return this;
case OverlayXState.preShowing:
return this;
case OverlayXState.showing:
return this;
case OverlayXState.postRemove:
state = OverlayXState.removed;
return this;
case OverlayXState.removed:
state = OverlayXState.init;
delayMills(0, bindOne(context, _asyncShow));
return this;
}
}