ratio method

double ratio({
  1. double dividedBy = 1,
  2. double reducedByW = 0.0,
  3. double reducedByH = 0.0,
})

Divide the height proportionally by the given value

Implementation

double ratio({
  double dividedBy = 1,
  double reducedByW = 0.0,
  double reducedByH = 0.0,
}) =>
    heightTransformer(dividedBy: dividedBy, reducedBy: reducedByH) /
    widthTransformer(dividedBy: dividedBy, reducedBy: reducedByW);