MergeMapBindableProperty<TValue> class

具有键的合并的绑定属性

Inheritance

Constructors

MergeMapBindableProperty(Map<Object, ValueListenable<TValue>> map, {PropertyValueChanged<Map<Object, 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 Map<Object, TValue>
The current value of the object. When the value changes, the callbacks registered with addListener will be invoked.
no setteroverride

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
dispose() → void
dispose
inherited
disposeFn(void fn()) → void
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
toString() String
A string representation of this object.
inherited
transform<T>({required T? transformer(Map<Object, TValue>), required T initial, PropertyValueChanged<T>? valueChanged}) BindableProperty<T>
从当前绑定属性转换到一个新的绑定属性
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited