onStateChange property

ValueChanged<AppLifecycleState>? onStateChange
final

Called anytime the state changes, passing the new state.

Implementation

final ValueChanged<AppLifecycleState>? onStateChange;