GState<T extends GLifeCycleMixin> constructor
const
GState<T extends GLifeCycleMixin> ({
- Key? key,
- String? tag,
- required GStateControllerBuilder<
T> builder, - bool global = true,
- bool autoRemove = true,
- void initState(
- GStateState<
T> state
- GStateState<
- bool assignId = false,
- void dispose(
- GStateState<
T> state
- GStateState<
- void didChangeDependencies(
- GStateState<
T> state
- GStateState<
- void didUpdateWidget(
- GState<
GLifeCycleMixin> oldWidget, - GStateState<
T> state
- GState<
- T? init,
Implementation
const GState({
super.key,
this.tag,
required this.builder,
this.global = true,
this.autoRemove = true,
this.initState,
this.assignId = false,
// this.stream,
this.dispose,
this.didChangeDependencies,
this.didUpdateWidget,
this.init,
// this.streamController
});