SizeExtension extension

on

Properties

dg double
ScreenUtil.diagonal
no setter
dm double
ScreenUtil.diameter
no setter
h double
ScreenUtil.setHeight
no setter
horizontalSpace SizedBox
ScreenUtil.setWidth
no setter
horizontalSpaceDiagonal SizedBox
ScreenUtil.diagonal
no setter
horizontalSpaceDiameter SizedBox
ScreenUtil.diameter
no setter
horizontalSpaceRadius SizedBox
ScreenUtil.radius
no setter
r double
ScreenUtil.radius
no setter
sh double
屏幕高度的倍数 Multiple of screen height
no setter
sm double
no setter
sp double
ScreenUtil.setSp
no setter
spMax double
no setter
spMin double
smart size : it check your value - if it is bigger than your value it will set your value for example, you have set 16.sm() , if for your screen 16.sp() is bigger than 16 , then it will set 16 not 16.sp() I think that it is good for save size balance on big sizes of screen
no setter
sw double
屏幕宽度的倍数 Multiple of screen width
no setter
verticalSpace SizedBox
ScreenUtil.setHeight
no setter
verticalSpaceFromWidth SizedBox
ScreenUtil.setVerticalSpacingFromWidth
no setter
verticalSpacingDiagonal SizedBox
ScreenUtil.diagonal
no setter
verticalSpacingDiameter SizedBox
ScreenUtil.diameter
no setter
verticalSpacingRadius SizedBox
ScreenUtil.radius
no setter
w double
ScreenUtil.setWidth
no setter