adaptiveWidth method

double adaptiveWidth(
  1. num width
)

Adapted to the device width of the UI Design. Height can also be adapted according to this to ensure no deformation , if you want a square

Implementation

double adaptiveWidth(num width) => width * scaleWidth;