GetX<T extends GetLifeCycleMixin> constructor
const
GetX<T extends GetLifeCycleMixin> ({})
Constructs a GetX widget.
The builder function is required and is used to build the widget
based on the controller's state. Other parameters control the lifecycle
behavior of the controller, such as whether it should be registered globally,
and whether it should be automatically removed when the widget is disposed.
Implementation
const GetX({
required this.builder,
super.key,
this.tag,
this.global = true,
this.autoRemove = true,
this.assignId = false,
this.initState,
this.dispose,
this.didChangeDependencies,
this.didUpdateWidget,
this.init,
});