setBindingProperty method

  1. @override
void setBindingProperty(
  1. String propertyName,
  2. dynamic value
)

Implementation

@override
void setBindingProperty(String propertyName, value) {
  switch (propertyName) {
    case SRC: src = castToType<String>(value); break;
    case WIDTH: width = castToType<num>(value).toDouble(); break;
    case HEIGHT: height = castToType<num>(value).toDouble(); break;
    default: super.setBindingProperty(propertyName, value);
  }
}