Package-level declarations
Types
Creates two previews on a Pixel 7 device for light and dark mode.
Creates two previews on a Pixel tablet device for light and dark mode.
Functions
Updates the given PaddingValues with the given Dp values and returns updated PaddingValues.
Converts this Float value from Density-independent Pixels (dp) to Pixels (px).
Converts this Int value from Density-independent Pixels (dp) to Pixels (px).
Whether the current device is a tablet. Equivalent to sw600dp
qualifier in Android.
Adds together the values of the given PaddingValues and returns updated PaddingValues.
Returns the sum of this and the other TextUnit value.
Converts this Float value from Pixels (px) to Density-independent Pixels (dp).
Converts this Int value from Pixels (px) to Density-independent Pixels (dp).
Converts this Float value from Pixels (px) to Scale-independent Pixels (sp).
Converts this Int value from Pixels (px) to Scale-independent Pixels (sp).
Converts this TextUnit value to Density-independent Pixels (dp).
Converts this Dp value to Pixels (px).
Converts this TextUnit value to Pixels (px).
Converts this Dp value to Scale-independent Pixels (sp).