Overlayer.closeOverlay constructor

Overlayer.closeOverlay({
  1. int backgroundColor = 0x42000000,
  2. int seconds = 0,
  3. bool clickClose = false,
  4. bool allowClick = false,
  5. bool ignoreContentClick = false,
  6. bool crossPage = true,
  7. int animationMilliseconds = 200,
  8. int animationReverseMilliseconds = 200,
  9. BackButtonBehaviorChecker backButtonBehavior = BackButtonBehaviorChecker.none,
  10. 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();
}