@@ -87,7 +87,7 @@ class SmartDialog {
8787 ///
8888 /// [maskWidgetTemp] :highly customizable mask
8989 ///
90- /// [antiShakeTemp] :anti-shake function( debounce)
90+ /// [debounceTemp] : debounce feature
9191 ///
9292 /// [onDismiss] :the callback will be invoked when the dialog is closed
9393 ///
@@ -120,7 +120,7 @@ class SmartDialog {
120120 ///
121121 /// [maskWidgetTemp] :可高度定制遮罩
122122 ///
123- /// [antiShakeTemp ] :防抖功能(debounce)
123+ /// [debounceTemp ] :防抖功能(debounce)
124124 ///
125125 /// [onDismiss] :在dialog被关闭的时候,该回调将会被触发
126126 ///
@@ -141,7 +141,7 @@ class SmartDialog {
141141 Duration ? animationDurationTemp,
142142 Color ? maskColorTemp,
143143 Widget ? maskWidgetTemp,
144- bool ? antiShakeTemp ,
144+ bool ? debounceTemp ,
145145 VoidCallback ? onDismiss,
146146 String ? tag,
147147 bool ? backDismiss,
@@ -157,7 +157,7 @@ class SmartDialog {
157157 animationDuration: animationDurationTemp ?? config.animationDuration,
158158 maskColor: maskColorTemp ?? config.maskColor,
159159 maskWidget: maskWidgetTemp ?? config.maskWidget,
160- antiShake : antiShakeTemp ?? config.antiShake ,
160+ debounce : debounceTemp ?? config.debounce ,
161161 onDismiss: onDismiss,
162162 tag: tag,
163163 backDismiss: backDismiss ?? true ,
@@ -191,7 +191,7 @@ class SmartDialog {
191191 ///
192192 /// [maskWidgetTemp] :highly customizable mask
193193 ///
194- /// [antiShakeTemp] :anti-shake function( debounce)
194+ /// [debounceTemp] : debounce feature
195195 ///
196196 /// [highlight] :highlight feature, dissolve the mask of a specific area
197197 ///
@@ -234,7 +234,7 @@ class SmartDialog {
234234 ///
235235 /// [maskWidgetTemp] :可高度定制遮罩
236236 ///
237- /// [antiShakeTemp ] :防抖功能(debounce)
237+ /// [debounceTemp ] :防抖功能(debounce)
238238 ///
239239 /// [highlight] :高亮功能,溶解特定区域的遮罩
240240 ///
@@ -262,7 +262,7 @@ class SmartDialog {
262262 Duration ? animationDurationTemp,
263263 Color ? maskColorTemp,
264264 Widget ? maskWidgetTemp,
265- bool ? antiShakeTemp ,
265+ bool ? debounceTemp ,
266266 Positioned ? highlight,
267267 HighlightBuilder ? highlightBuilder,
268268 VoidCallback ? onDismiss,
@@ -284,7 +284,7 @@ class SmartDialog {
284284 animationDuration: animationDurationTemp ?? config.animationDuration,
285285 maskColor: maskColorTemp ?? config.maskColor,
286286 maskWidget: maskWidgetTemp ?? config.maskWidget,
287- antiShake : antiShakeTemp ?? config.antiShake ,
287+ debounce : debounceTemp ?? config.debounce ,
288288 highlight: highlight ?? Positioned (child: Container ()),
289289 highlightBuilder: highlightBuilder,
290290 onDismiss: onDismiss,
@@ -399,7 +399,7 @@ class SmartDialog {
399399 ///
400400 /// [time] :toast display time on the screen(Use the 'widget' param, this param will be invalid)
401401 ///
402- /// [antiShakeTemp] :anti-shake function( debounce)
402+ /// [debounceTemp] : debounce feature
403403 ///
404404 /// [type] :provider multiple display logic,
405405 /// please refer to [SmartToastType] comment for detailed description
@@ -428,7 +428,7 @@ class SmartDialog {
428428 ///
429429 /// [time] :toast在屏幕上的显示时间
430430 ///
431- /// [antiShakeTemp ] :防抖功能(debounce)
431+ /// [debounceTemp ] :防抖功能(debounce)
432432 ///
433433 /// [type] :提供多种显示逻辑,详细描述请查看 [SmartToastType] 注释
434434 ///
@@ -444,7 +444,7 @@ class SmartDialog {
444444 Widget ? maskWidgetTemp,
445445 AlignmentGeometry alignment = Alignment .bottomCenter,
446446 Duration ? time,
447- bool ? antiShakeTemp ,
447+ bool ? debounceTemp ,
448448 SmartToastType ? type,
449449 Widget ? widget,
450450 }) async {
@@ -457,7 +457,7 @@ class SmartDialog {
457457 maskColor: maskColorTemp ?? config.maskColor,
458458 maskWidget: maskWidgetTemp ?? config.maskWidget,
459459 time: time ?? Duration (milliseconds: 2000 ),
460- antiShake : antiShakeTemp ?? config.antiShake ,
460+ debounce : debounceTemp ?? config.debounce ,
461461 type: type ?? SmartToastType .normal,
462462 widget: widget ?? ToastWidget (msg: msg, alignment: alignment),
463463 );
0 commit comments