GetBuilder<T extends GetxController> constructor

const GetBuilder<T extends GetxController>({
  1. required GetControllerBuilder<T> builder,
  2. Key? key,
  3. T? init,
  4. bool global = true,
  5. bool autoRemove = true,
  6. bool assignId = false,
  7. void initState(
    1. BindElement<T> state
    )?,
  8. Object filter(
    1. T value
    )?,
  9. String? tag,
  10. dynamic dispose(
    1. BindElement<T> state
    )?,
  11. Object? id,
  12. dynamic didChangeDependencies(
    1. BindElement<T> state
    )?,
  13. void didUpdateWidget(
    1. Binder<T> oldWidget,
    2. BindElement<T> state
    )?,
})

Constructs a GetBuilder widget.

Implementation

const GetBuilder({
  required this.builder,
  super.key,
  this.init,
  this.global = true,
  this.autoRemove = true,
  this.assignId = false,
  this.initState,
  this.filter,
  this.tag,
  this.dispose,
  this.id,
  this.didChangeDependencies,
  this.didUpdateWidget,
});