GetX<T extends DisposableInterface> constructor

const GetX<T extends DisposableInterface>(
  1. {String tag,
  2. GetXControllerBuilder<T> builder,
  3. bool global = true,
  4. bool autoRemove = true,
  5. void initState(
    1. State<StatefulWidget> state
    ),
  6. bool assignId = false,
  7. void dispose(
    1. State<StatefulWidget> state
    ),
  8. void didChangeDependencies(
    1. State<StatefulWidget> state
    ),
  9. void didUpdateWidget(
    1. GetX<DisposableInterface> oldWidget,
    2. State<StatefulWidget> state
    ),
  10. T init}
)

Implementation

const GetX({
  this.tag,
  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
});