onHide property

VoidCallback? onHide
final

A callback that is called when the application is hidden.

On mobile platforms, this is usually just before the application is replaced by another application in the foreground.

On desktop platforms, this is just before the application is hidden by being minimized or otherwise hiding all views of the application.

On the web, this is just before a window (or tab) is hidden.

Implementation

final VoidCallback? onHide;