Package-level declarations
Properties
Determine whether the current color is a bright tone.
Determine whether the current color is a bright tone.
Determine whether the current color is a bright tone.
Returns the solid color of the BorderStroke.brush, or Color.Unspecified if the BorderStroke.brush is not a SolidColor.
Functions
Workaround for BorderStroke.width is 0.dp like Dp.Hairline, you can see another borderOrElse for more details.
Workaround for BorderStroke.width is 0.dp like Dp.Hairline, which will cause the Modifier.border still draw a border, see here.
Extension for foundationClickable.
Extension for foundationCombinedClickable.
Creates a padding of all dp along all 4 edges.
Creates a padding of horizontal dp along the left and right edges, and of vertical dp along the top and bottom edges.
Creates a padding to be applied along the edges inside a box.
Draw content with disabledAlpha if enabled is false.
Returns a callback to add haptic feedback on touch or click event.
Create an ImageVector with ImageVector.Builder.
Mix two colors.
ScaleFactor extension, if ScaleFactor is not specified, return null.
Extension for foundationSelectable.
Returns the solid color of the BorderStroke.brush, or default if the BorderStroke.brush is not a SolidColor.
Convert UIColor to Color.
Extension for foundationToggleable.
Convert Color to UIColor.