LifecycleObserver constructor

const LifecycleObserver({
  1. Key? key,
  2. required Widget child,
  3. void onStateChange(
    1. AppLifecycleState state
    )?,
})

Implementation

const LifecycleObserver({super.key, required this.child, this.onStateChange});