GetX<T extends DisposableInterface> constructor
const
GetX<T extends DisposableInterface> ({
- Key? key,
- 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({
Key? 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
}) : super(key: key);