BindInterface<T> class
abstract
An interface that defines common fields for binding widgets.
This interface is implemented by both Bind and Binder classes to eliminate code duplication and ensure consistent behavior across binding implementations.
Constructors
Properties
- assignId → bool
-
Flag indicating whether an identifier should be assigned to the widget.
no setter
- autoRemove → bool
-
Flag indicating whether the widget should be automatically removed when disposed.
no setter
-
didChangeDependencies
→ dynamic Function(BindElement<
T> state)? -
Callback function that is called when the widget's dependencies change.
no setter
-
dispose
→ dynamic Function(BindElement<
T> state)? -
Callback function that is called when the widget is disposed.
no setter
- filter → Object Function(T value)?
-
Function to filter the value of the controller.
no setter
- global → bool
-
Flag indicating whether the controller should be treated as global.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → Object?
-
Identifier for the widget.
no setter
-
init
→ InitBuilder<
T> ? -
Function to initialize the controller.
no setter
-
initState
→ void Function(BindElement<
T> state)? -
Callback function that is called when the widget is initialized.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tag → String?
-
Tag for the widget.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited