perHeight method

double perHeight(
  1. double percentage
)

Returns the the percentage of the maxHeight

constraints.maxHeight.per(percentage);

Implementation

double perHeight(double percentage) => this.maxHeight.per(percentage);