LifeCycleManager constructor

const LifeCycleManager({
  1. Key? key,
  2. required Widget child,
  3. VoidCallback? onResumed,
  4. VoidCallback? onPaused,
  5. VoidCallback? onInactive,
  6. VoidCallback? onDetached,
  7. VoidCallback? onHidden,
  8. bool enableLogging = false,
})

Implementation

const LifeCycleManager({
  super.key,
  required this.child,
  this.onResumed,
  this.onPaused,
  this.onInactive,
  this.onDetached,
  this.onHidden,
  this.enableLogging = false,
});