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);
Calculates a percentage of the screen width.
Example: 50.sw (50% of screen width)
double get sW => ScreenUtil().screenWidth * (this / 100);