MyStatefulWidget<T> constructor
MyStatefulWidget<T> ({
- required Key? key,
- required List<
ReactiveModelImp> observers(- BuildContext context
- required Widget builder(
- BuildContext,
- SnapState<
T> , - ReactiveModel<
T>
- void onSetState(
- BuildContext,
- SnapState<
T> , - ReactiveModel<
T>
- SideEffects<
T> ? sideEffects, - ShouldRebuild? shouldRebuild,
- void didChangeDependencies(
- BuildContext context,
- ReactiveModel<
T> ? model
- void didUpdateWidget(
- BuildContext context,
- ReactiveModel<
T> ? model, - MyStatefulWidget<
T> oldWidget
- void initState(
- BuildContext context,
- ReactiveModel<
T> ? model
- void dispose(
- BuildContext context,
- ReactiveModel<
T> ? model
- String? debugPrintWhenRebuild,
Implementation
MyStatefulWidget({
required Key? key,
required this.observers,
required Widget Function(BuildContext, SnapState<T>, ReactiveModel<T>)?
builder,
this.onSetState,
this.sideEffects,
this.shouldRebuild,
this.didChangeDependencies,
this.didUpdateWidget,
this.initState,
this.dispose,
this.debugPrintWhenRebuild,
}) : _builder = builder,
super(key: key);