registerProperty<TValue> method
BindableProperty<TValue>
registerProperty<TValue>(
- Object propertyKey,
- BindableProperty<
TValue> property
override
注册一个绑定属性
propertyKey
指定属性键
property
指定绑定属性
Implementation
@override
BindableProperty<TValue> registerProperty<TValue>(
Object propertyKey, BindableProperty<TValue> property) {
(_properties ??= <Object, BindableProperty<dynamic>>{})[propertyKey] =
property;
return property;
}