onCloseRequested property Null safety

VoidCallback? onCloseRequested
final

This is called when the back button is tapped or when the session is closed

Implementation

final VoidCallback? onCloseRequested;