SmartConfigAttach constructor

SmartConfigAttach({
  1. Alignment alignment = Alignment.bottomCenter,
  2. SmartAnimationType animationType = SmartAnimationType.centerScale_otherSlide,
  3. Duration animationTime = const Duration(milliseconds: 200),
  4. bool useAnimation = true,
  5. bool usePenetrate = false,
  6. Color maskColor = const Color.fromRGBO(0, 0, 0, 0.46),
  7. Widget? maskWidget,
  8. bool clickMaskDismiss = true,
  9. bool debounce = false,
  10. Duration debounceTime = const Duration(milliseconds: 300),
  11. bool backDismiss = true,
  12. bool bindPage = true,
  13. SmartAwaitOverType awaitOverType = SmartAwaitOverType.dialogDismiss,
  14. SmartMaskTriggerType maskTriggerType = SmartMaskTriggerType.up,
  15. List<SmartNonAnimationType> nonAnimationTypes = const [SmartNonAnimationType.routeClose_nonAnimation, SmartNonAnimationType.highlightMask_nonAnimation],
  16. SmartAttachAlignmentType attachAlignmentType = SmartAttachAlignmentType.center,
  17. bool isExist = false,
})

Implementation

SmartConfigAttach({
  this.alignment = Alignment.bottomCenter,
  this.animationType = SmartAnimationType.centerScale_otherSlide,
  this.animationTime = const Duration(milliseconds: 200),
  this.useAnimation = true,
  this.usePenetrate = false,
  this.maskColor = const Color.fromRGBO(0, 0, 0, 0.46),
  this.maskWidget,
  this.clickMaskDismiss = true,
  this.debounce = false,
  this.debounceTime = const Duration(milliseconds: 300),
  this.backDismiss = true,
  this.bindPage = true,
  this.awaitOverType = SmartAwaitOverType.dialogDismiss,
  this.maskTriggerType = SmartMaskTriggerType.up,
  this.nonAnimationTypes = const [
    SmartNonAnimationType.routeClose_nonAnimation,
    SmartNonAnimationType.highlightMask_nonAnimation,
  ],
  this.attachAlignmentType = SmartAttachAlignmentType.center,
  this.isExist = false,
});