At the moment it allows the user to initiate an OS shutdown on Desktop. In Flutter, we need to detect if the OS is shutting down so we can make sure the user has a chance to save their work if they are in a form.