onClose property
final
A callback invoked when the close button is clicked. If null, the close button is not shown.
Implementation
final VoidCallback? onClose;
A callback invoked when the close button is clicked. If null, the close button is not shown.
final VoidCallback? onClose;