onStateChange property
final
Called anytime the state changes, passing the new state.
Implementation
final ValueChanged<AppLifecycleState>? onStateChange;
Called anytime the state changes, passing the new state.
final ValueChanged<AppLifecycleState>? onStateChange;