DeviceExt extension
- on
Properties
- cm → double
-
Available on num, provided by the DeviceExt extension
The respective value in centimetersno setter - dp → double
-
Available on num, provided by the DeviceExt extension
Calculates the material dp (Pixel Density) (https://material.io/design/layout/pixel-density.html#pixel-density-on-android))no setter - h → double
-
Available on num, provided by the DeviceExt extension
Calculates the height depending on the device's screen sizeno setter - inches → double
-
Available on num, provided by the DeviceExt extension
The respective value in inchesno setter - mm → double
-
Available on num, provided by the DeviceExt extension
The respective value millimetersno setter - pc → double
-
Available on num, provided by the DeviceExt extension
The respective value in picas (1/6th of 1 inch)no setter - pt → double
-
Available on num, provided by the DeviceExt extension
The respective value in points (1/72th of 1 inch)no setter - px → double
-
Available on num, provided by the DeviceExt extension
The respective value in pixels (default)no setter - Q → double
-
Available on num, provided by the DeviceExt extension
The respective value in quarter-millimetersno setter - sh → double
-
Available on num, provided by the DeviceExt extension
Calculates the height depending on the remaining device height after usingSafeArea
Eg: 20.sh -> will take 20% of the safe area heightno setter - sp → double
-
Available on num, provided by the DeviceExt extension
Calculates the sp (Scalable Pixel) depending on the device's pixel density and aspect rationo setter - spa → double
-
Available on num, provided by the DeviceExt extension
Calculates the sp (Scalable Pixel) based on Issue #27no setter - sw → double
-
Available on num, provided by the DeviceExt extension
Calculates the width depending on the remaining device width after usingSafeArea
no setter - vmax → double
-
Available on num, provided by the DeviceExt extension
Respective percentage of the viewport's larger dimension.no setter - vmin → double
-
Available on num, provided by the DeviceExt extension
Respective percentage of the viewport's smaller dimension.no setter - w → double
-
Available on num, provided by the DeviceExt extension
Calculates the width depending on the device's screen sizeno setter