Overlayer.closeOverlay constructor
Overlayer.closeOverlay({
- int backgroundColor = 0x42000000,
- int seconds = 0,
- bool clickClose = false,
- bool allowClick = false,
- bool ignoreContentClick = false,
- bool crossPage = true,
- int animationMilliseconds = 200,
- int animationReverseMilliseconds = 200,
- BackButtonBehaviorChecker backButtonBehavior = BackButtonBehaviorChecker.none,
- void cancelFunc()?,
Constructs an OverLaymanager instance to close an overlay.
Implementation
Overlayer.closeOverlay({
this.backgroundColor = 0x42000000,
this.seconds = 0,
this.clickClose = false,
this.allowClick = false,
this.ignoreContentClick = false,
this.crossPage = true,
this.animationMilliseconds = 200,
this.animationReverseMilliseconds = 200,
this.backButtonBehavior = BackButtonBehaviorChecker.none,
this.cancelFunc,
}) {
BotToast.closeAllLoading();
}