onStateChange property
final
Callback, called when the AppLifecycleState is changed.
Implementation
final void Function(AppLifecycleState state)? onStateChange;
Callback, called when the AppLifecycleState is changed.
final void Function(AppLifecycleState state)? onStateChange;