JuneBuilder<T extends JuneState> constructor

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

Implementation

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