onHidden property

VoidCallback? onHidden
final

Called right after the user closes the window.

The package does not know how your app re-opens it, so the hint is left to the app: show a SnackBar, log a line, or leave it null.

Implementation

final VoidCallback? onHidden;