getBindingProperty method

  1. @override
dynamic getBindingProperty(
  1. String key
)
override

Implementation

@override
getBindingProperty(String key) {
  switch (key) {
    case 'innerWidth': return innerWidth;
    case 'innerHeight': return innerHeight;
    case 'scrollX': return scrollX;
    case 'scrollY': return scrollY;
    case 'screen': return screen;
    case 'colorScheme': return colorScheme;
    case 'devicePixelRatio': return devicePixelRatio;
    default: return super.getBindingProperty(key);
  }
}