heightScale property

double get heightScale

Implementation

double get heightScale{
  final scaleRatio = _currentHeight!/optimumHeight!;
  return scaleRatio < 1 ? scaleRatio : 1.0;
}