GetX<T extends DisposableInterface> constructor
const
GetX<T extends DisposableInterface> ({
- String? tag,
- required GetXControllerBuilder<
T> builder, - bool global = true,
- bool autoRemove = true,
- void initState(
- GetXState<
T> state
- GetXState<
- bool assignId = false,
- void dispose(
- GetXState<
T> state
- GetXState<
- void didChangeDependencies(
- GetXState<
T> state
- GetXState<
- void didUpdateWidget(
- GetX<
DisposableInterface> oldWidget, - GetXState<
T> state
- GetX<
- T? init,
Implementation
const GetX({
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
});