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