Package-level declarations

Types

Link copied to clipboard

Functions

Link copied to clipboard
fun Modifier.bounceClick(onClick: () -> Unit = {}): Modifier
Link copied to clipboard
fun Modifier.click(onClick: () -> Unit = {}): Modifier
Link copied to clipboard
fun Modifier.coloredShadow(color: Color, alpha: Float = 0.2f, borderRadius: Dp = 0.dp, shadowRadius: Dp = 20.dp, offsetY: Dp = 0.dp, offsetX: Dp = 0.dp): Modifier

---- COLORS -------------------------------------------------------------------------------

Link copied to clipboard
inline fun Modifier.conditional(condition: Boolean, factory: () -> Modifier): Modifier
Link copied to clipboard

---- MODIFIER EXT --------------------------------------------------------------------------

Link copied to clipboard

---- LISTS --------------------------------------------------------------------------------

Link copied to clipboard

---- ANIMATION -----------------------------------------------------------------------------

Link copied to clipboard
Link copied to clipboard
inline fun Modifier.noRippleClickable(role: Role? = null, enabled: Boolean = true, onClickLabel: String? = null, crossinline onClick: () -> Unit): Modifier
Link copied to clipboard
fun Modifier.shake(enabled: Boolean = true, fromLeft: Boolean = true, rotation: Float = 3.0f, animation: DurationBasedAnimationSpec<Float> = tween(200, easing = LinearEasing), infiniteTransition: InfiniteTransition): Modifier

Makes a view shake enabled is the view should shake fromLeft if the view should start the shake from the left, else it starts from the right infiniteTransition

Link copied to clipboard
inline fun <T> Modifier.whenNotNull(any: T?, factory: (T) -> Modifier): Modifier
Link copied to clipboard