calcWidthFromHeight method

double calcWidthFromHeight(
  1. double height
)

Calculate width value from given height.

Implementation

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