WriteableBindableProperty<TValue> class
abstract
可设置值的绑定属性
- Inheritance
-
- Object
- ChangeNotifier
- BindableProperty<
TValue> - WriteableBindableProperty
- Implementers
Constructors
-
WriteableBindableProperty({PropertyValueChanged<
TValue> ? valueChanged}) - 创建可设置值的绑定属性
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
Whether any listeners are currently registered.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ TValue
-
The current value of the object. When the value changes, the callbacks
registered with addListener will be invoked.
getter/setter pairinherited-getter
Methods
-
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object changes.
inherited
-
dispose(
) → void -
dispose
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notify(
) → void -
发送通知
inherited
-
notifyListeners(
) → void -
Call all the registered listeners.
inherited
-
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
set(
TValue? value) → void - 设置属性值
-
toString(
) → String -
A string representation of this object.
inherited
-
transform<
T> ({required T? transformer(TValue), required T initial, PropertyValueChanged< T> ? valueChanged}) → BindableProperty<T> -
从当前绑定属性转换到一个新的绑定属性
inherited
-
update(
TValue? updator(TValue value)) → void - 更新属性值
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited