setBindingProperty method
void
setBindingProperty(
- String key,
- dynamic value
)
override
Implementation
@override
void setBindingProperty(String key, value) {
switch (key) {
case 'src': src = castToType<String>(value); break;
case 'loading': loading = castToType<String>(value); break;
case 'width': width = castToType<int>(value); break;
case 'height': height = castToType<int>(value); break;
case 'scaling': scaling = castToType<String>(value); break;
default: super.setBindingProperty(key, value);
}
}