convertToPixels method

double convertToPixels(
  1. double value,
  2. int from
)

Converts to pixels.

Implementation

double convertToPixels(double value, int from) {
  return value * _unitsProportions[from];
}