GState<T extends GLifeCycleMixin> constructor

const GState<T extends GLifeCycleMixin>({
  1. Key? key,
  2. String? tag,
  3. required GStateControllerBuilder<T> builder,
  4. bool global = true,
  5. bool autoRemove = true,
  6. void initState(
    1. GStateState<T> state
    )?,
  7. bool assignId = false,
  8. void dispose(
    1. GStateState<T> state
    )?,
  9. void didChangeDependencies(
    1. GStateState<T> state
    )?,
  10. void didUpdateWidget(
    1. GState<GLifeCycleMixin> oldWidget,
    2. GStateState<T> state
    )?,
  11. T? init,
})

Implementation

const GState({
  super.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
});