onStateChange property

void Function(AppLifecycleState state)? onStateChange
final

Callback, called when the AppLifecycleState is changed.

Implementation

final void Function(AppLifecycleState state)? onStateChange;