onDismiss property

VoidCallback? onDismiss
getter/setter pair

The animation end callback, indicates that the dialog is about to close, if you use custom or multiple AnimationController, you should use reverse() in this callback to reverse the animation

动画结束回调, 表示该dialog即将关闭; 如果使用自定义或多个AnimationController时, 应该在此回调中使用reverse()反转运行动画

Implementation

VoidCallback? onDismiss;