GBinder<T> constructor

const GBinder<T>({
  1. Key? key,
  2. required Widget child,
  3. InitBuilder<T>? init,
  4. bool global = true,
  5. bool autoRemove = true,
  6. bool assignId = false,
  7. bool lazy = true,
  8. ValueChanged<GBindElement<T>>? initState,
  9. Object filter(
    1. T value
    )?,
  10. String? tag,
  11. ValueChanged<GBindElement<T>>? dispose,
  12. Object? id,
  13. ValueChanged<GBindElement<T>>? didChangeDependencies,
  14. DidUpdateWidgetCallback<T>? didUpdateWidget,
  15. InstanceCreateBuilderCallback<T>? create,
})

Create an inherited widget that updates its dependents when controller sends notifications.

The child argument is required

Implementation

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