LifeCycleWidget constructor
const
LifeCycleWidget({
- required Key key,
- required Widget child,
- dynamic init(
- BuildContext context
- dynamic preInit() = _stub2,
- dynamic dispose(
- BuildContext context
Implementation
const LifeCycleWidget(
{required Key key,
required this.child,
this.init = _stub,
this.preInit = _stub2,
this.dispose = _stub})
: super(key: key);