onDetach property

VoidCallback? onDetach
final

A callback that is called when an application has exited, and detached all host views from the engine.

This callback is only called on iOS and Android.

Implementation

final VoidCallback? onDetach;