appLifecycleSignal top-level property

Signal<AppLifecycleState> appLifecycleSignal
final

WidgetsBinding signal that tracks the current AppLifecycleState

initWidgetsBindingSignals is required to be called in the main method

Implementation

final appLifecycleSignal = signal<AppLifecycleState>(AppLifecycleState.resumed);