ViewPointUnit extension
CSS viewport unit from MediaQuerry
- on
Properties
- p → double
-
Return percentage
no setter
- px → num
-
Returen px
no setter
- size → Size
-
vmin - percent of smallest between width or height of viewport
no setter
- vh → num
-
vh - percent of viewport height
no setter
- vmax → num
-
vmax - percent of largest between width or height of viewport
no setter
- vmin → num
-
Return vmin
no setter
- vw → num
-
vw - percent of viewport width
no setter
Static Properties
- context ↔ BuildContext
-
Return the current context
getter/setter pair
Static Methods
-
initContext(
BuildContext value) → void