updateDimensions method

void updateDimensions()

Implementation

void updateDimensions() {
  _width = _getElementWidth(element);
  _height = _getElementHeight(element);
}