LifeCycleWidget constructor

const LifeCycleWidget({
  1. required Key key,
  2. required Widget child,
  3. dynamic init(
    1. BuildContext context
    ) = _stub,
  4. dynamic preInit() = _stub2,
  5. dynamic dispose(
    1. BuildContext context
    ) = _stub,
})

Implementation

const LifeCycleWidget(
    {required Key key,
    required this.child,
    this.init = _stub,
    this.preInit = _stub2,
    this.dispose = _stub})
    : super(key: key);