onClose property

VoidCallback? onClose
final

当用户点击关闭按钮时调用。

如果值为null,则不显示关闭按钮

Implementation

final VoidCallback? onClose;