Calculates the width depending on the device's screen size
Eg: 20.sw -> will take 20% of the safe area width
static double sw(num width) => width.sw;