getWidth method

dynamic getWidth()

For finding width for shadow.

Implementation

//TODO
getWidth() {
  return dragHorizontal > 180
      ? (130 + (180 - dragHorizontal) * 1.44)
      : 130 - (dragHorizontal * 1.44);
}