GBinder<T> constructor
const
GBinder<T> ({
- Key? key,
- required Widget child,
- InitBuilder<
T> ? init, - bool global = true,
- bool autoRemove = true,
- bool assignId = false,
- bool lazy = true,
- ValueChanged<
GBindElement< ? initState,T> > - Object filter(
- T value
- String? tag,
- ValueChanged<
GBindElement< ? dispose,T> > - Object? id,
- ValueChanged<
GBindElement< ? didChangeDependencies,T> > - DidUpdateWidgetCallback<
T> ? didUpdateWidget, - 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,
});