onDetached property
onDetached is triggered when the app goes to the AppLifecycleState.detached state.
Implementation
final VoidCallback? onDetached;
onDetached is triggered when the app goes to the AppLifecycleState.detached state.
final VoidCallback? onDetached;