onClose property

VoidCallback onClose
final

Called when the user taps close — the X (real endSession + teardown).

Implementation

final VoidCallback onClose;