SmartConfigToast constructor
SmartConfigToast({
- Alignment alignment = Alignment.bottomCenter,
- SmartAnimationType animationType = SmartAnimationType.fade,
- Duration animationTime = const Duration(milliseconds: 200),
- bool useAnimation = true,
- bool usePenetrate = true,
- Color maskColor = const Color.fromRGBO(0, 0, 0, 0.46),
- Widget? maskWidget,
- bool clickMaskDismiss = false,
- bool debounce = false,
- Duration debounceTime = const Duration(milliseconds: 300),
- SmartToastType displayType = SmartToastType.normal,
- bool consumeEvent = false,
- Duration displayTime = const Duration(milliseconds: 2000),
- Duration intervalTime = const Duration(milliseconds: 100),
- SmartAwaitOverType awaitOverType = SmartAwaitOverType.dialogDismiss,
- SmartMaskTriggerType maskTriggerType = SmartMaskTriggerType.up,
- List<
SmartNonAnimationType> nonAnimationTypes = const [], - bool isExist = false,
Implementation
SmartConfigToast({
this.alignment = Alignment.bottomCenter,
this.animationType = SmartAnimationType.fade,
this.animationTime = const Duration(milliseconds: 200),
this.useAnimation = true,
this.usePenetrate = true,
this.maskColor = const Color.fromRGBO(0, 0, 0, 0.46),
this.maskWidget,
this.clickMaskDismiss = false,
this.debounce = false,
this.debounceTime = const Duration(milliseconds: 300),
this.displayType = SmartToastType.normal,
this.consumeEvent = false,
this.displayTime = const Duration(milliseconds: 2000),
this.intervalTime = const Duration(milliseconds: 100),
this.awaitOverType = SmartAwaitOverType.dialogDismiss,
this.maskTriggerType = SmartMaskTriggerType.up,
this.nonAnimationTypes = const [],
this.isExist = false,
});