Calculate height value from given width.
width
double calcHeightFromWidth(double width) { return width * height / this.width; }