sh property
double
get
sh
Calculates a percentage of the screen height.
Example: 30.sh
(30% of screen height)
Implementation
double get sh => ScreenUtil().screenHeight * (this / 100);
Calculates a percentage of the screen height.
Example: 30.sh
(30% of screen height)
double get sh => ScreenUtil().screenHeight * (this / 100);