viewWidth method

double viewWidth(
  1. num input
)

calculates the view width for the given input

Implementation

double viewWidth(num input) => input * (_screenWidth / 100);