LifeCycle constructor

const LifeCycle({
  1. required Widget child,
  2. VoidCallback? onCreate,
  3. VoidCallback? onStart,
  4. VoidCallback? onResume,
  5. VoidCallback? onPause,
  6. VoidCallback? onDestroy,
  7. Key? key,
})

Implementation

const LifeCycle({
  required this.child,
  this.onCreate,
  this.onStart,
  this.onResume,
  this.onPause,
  this.onDestroy,
  Key? key,
}) : super(key: key);