setBindingProperty method

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

Implementation

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