SmartConfigAttach constructor
SmartConfigAttach({
- Alignment alignment = Alignment.bottomCenter,
- SmartAnimationType animationType = SmartAnimationType.centerScale_otherSlide,
- Duration animationTime = const Duration(milliseconds: 200),
- bool useAnimation = true,
- bool usePenetrate = false,
- Color maskColor = const Color.fromRGBO(0, 0, 0, 0.46),
- Widget? maskWidget,
- bool clickMaskDismiss = true,
- bool debounce = false,
- Duration debounceTime = const Duration(milliseconds: 300),
- bool backDismiss = true,
- bool bindPage = true,
- SmartAwaitOverType awaitOverType = SmartAwaitOverType.dialogDismiss,
- SmartMaskTriggerType maskTriggerType = SmartMaskTriggerType.up,
- List<
SmartNonAnimationType> nonAnimationTypes = const [SmartNonAnimationType.routeClose_nonAnimation, SmartNonAnimationType.highlightMask_nonAnimation], - SmartAttachAlignmentType attachAlignmentType = SmartAttachAlignmentType.center,
- 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,
});