Package-level declarations
Types
Properties
The height of a screen, that's inside a route, excluding the BottomNavigationBarHeight
Gets the height of the system's navigation bar (recent items, home, back). Useful to setting the height of the app's bottomBar when using enableEdgeToEdge. And this method seems to be kinda blocking. In my Samsung it's 48.dp
Functions
Util to only apply a modifierOp if condition is true, in order to reduce lines and improve readability
Shows the composable via drawContent, but only where the two images overlap according to transparencyGradient, which should be a black to white or white to black gradient.
Involves content with a Box with a light secondaryContainer background with a light outline border
Defines colorStops, which is an array of Colors and their offset (ranges) throughout a gradient. Useful for Brush.linearGradient
Util function that creates a remembered value and that has a function to toggle the boolean state, thus avoiding doing:
Gets Dp size of a text (considering the default text size)
Util function to create a Brush that can be passed to fadingEdge to create a fade in/out of a composable