height method

double height(
  1. String unit
)

Implementation

double height(String unit) => _maxY[unit]! - _minY[unit]!;