pxunit library
Enums
Functions
-
heightPercentToPxUnitDoubleGetter(
double hpcValue, [PxUnit toPu = PxUnit.hpc]) → PxUnitValueGetter< PxUnitDouble> - 高度百分比 的 值转换((Y,hpc)->(M,?)), 默认 1:1转换为 hpc
-
heightPercentToPxUnitGetter(
PxUnit toPu) → PxUnitGetter - 高度百分比 的 单位转换(/hpc->/?)
-
pxUnitDoubleGetter(
PxUnitDouble value) → PxUnitDoubleGetter -
pxUnitDoubleHeightPercentGetter(
PxUnitDouble value) → PercentGetter -
pxUnitDoubleWidthPercentGetter(
PxUnitDouble value) → PercentGetter -
pxUnitGetter(
PxUnit pu) → PxUnitGetter -
pxUnitHeightPercentGetter(
PxUnit pu) → PercentGetter -
pxUnitWidthPercentGetter(
PxUnit pu) → PercentGetter -
rpx(
double value) → PxUnitDoubleGetter -
vh(
double value) → PxUnitDoubleGetter -
vhOffset(
Offset offset) → PxUnitValueGetter< Offset> -
vhRect(
Rect rect) → PxUnitValueGetter< Rect> -
vhRectOnlySize(
Rect rect) → PxUnitValueGetter< Rect> -
vhSize(
Size size) → PxUnitValueGetter< Size> -
vw(
double value) → PxUnitDoubleGetter -
widthPercentToPxUnitDoubleGetter(
double wpcValue, [PxUnit toPu = PxUnit.wpc]) → PxUnitValueGetter< PxUnitDouble> - 宽度百分比 的 值转换((X,wpc)->(N,?)), 默认 1:1转换为 wpc
-
widthPercentToPxUnitGetter(
PxUnit toPu) → PxUnitGetter - 宽度百分比 的 单位转换(/wpc->/?)
Typedefs
-
PxUnitDouble
= PxUnitValue<
double> -
PxUnitDoubleGetter
= PxUnitValueGetter<
double> - PxUnitGetter = double Function(Size viewport)
-
PxUnitValue<
T> = (T, PxUnit) -
PxUnitValueGetter<
T> = T Function(Size viewport)