onClose property
final
Optional onClose callback. If set, a "close" IconButton will appear at the top right of the widget. The callback function is called when the "close" button is tapped.
Implementation
final VoidCallback? onClose;
Optional onClose callback. If set, a "close" IconButton will appear at the top right of the widget. The callback function is called when the "close" button is tapped.
final VoidCallback? onClose;