GetBuilder<T extends GetxController> constructor

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

Implementation

const GetBuilder({
  Key key,
  this.init,
  this.global = true,
  @required this.builder,
  this.autoRemove = true,
  this.assignId = false,
  this.initState,
  this.tag,
  this.dispose,
  this.id,
  this.didChangeDependencies,
  this.didUpdateWidget,
})  : assert(builder != null),
      super(key: key);