shouldExit property

ValueListenable<bool> get shouldExit

Whether the last window close means the process should end.

A signal rather than a call to exit: whether and how to end a process is the embedder's business, and on targets with no process to exit in this sense nothing reads it.

Implementation

ValueListenable<bool> get shouldExit => _shouldExit;