scaledOptimumHeight method

double scaledOptimumHeight(
  1. double value
)

Implementation

double scaledOptimumHeight(double value){
  final initialValue = value;
  final scaleRatio = initialValue/optimumHeight!;
  final scaledValue = _currentHeight! * scaleRatio;
  return scaledValue;
}