calcHeightFromWidth method

double calcHeightFromWidth(
  1. double width
)

Calculate height value from given width.

Implementation

double calcHeightFromWidth(double width) {
  return width * height / this.width;
}