Class

FixedThreshold

A fixed threshold will be at an offset away from the first anchor.

Source set: Android
public data class FixedThreshold(private val offset: Dp) : ThresholdConfig

A fixed threshold will be at an offset away from the first anchor.

Parameters

offset The offset (in dp) that the threshold will be at.

Functions

computeThreshold

Source set: Android
override fun Density.computeThreshold(fromValue: Float, toValue: Float): Float
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: