Package-level declarations
Types
Miuix default Indication that draws a rectangular overlay when pressed.
A util class for show popup and dialog.
OverScrollState is used to control the overscroll effect.
The type of visual feedback to apply when the component is pressed.
A CornerBasedShape that draws a rectangle with smoothly rounded corners. The smoothing is controlled by the smoothing
parameter, which affects how the corners transition from straight edges to curves, often referred to as "squircles".
Window size data class.
Properties
Default smoothing value for SmoothRoundedCornerShape. A value of 0.6 is often used to achieve a "squircle" or "superellipse" like appearance.
LocalOverScrollState is used to provide the OverScrollState instance to the composition.
Functions
Handles the back event.
Returns the rounded corner of the current device.
Returns the current window size.
OverScroll effect for scrollable Composable.
Applies a "tilt" effect based on the position where the user pressed the component. The tilt direction is determined by touch offset, giving the effect that one corner "sinks" while the other "static".
Applies a haptic feedback effect when a scrollable container is flung to its boundaries.
Creates a SmoothRoundedCornerShape with all corners having the same size and smoothing.
Creates a Path for a rectangle with smoothly rounded corners.
Converts a RoundedPolygon from the AndroidX graphics shapes library to a Jetpack Compose Path.