sW property

double get sW

Calculates a percentage of the screen width.

Example: 50.sw (50% of screen width)

Implementation

double get sW => ScreenUtil().screenWidth * (this / 100);