Class

FractionalThreshold

A fractional threshold will be at a fraction of the way between the two anchors.

Source set: Common

Deprecated

SwipeableDeprecation

@ExperimentalMaterialApi
data class FractionalThreshold(
/*@FloatRange(from = 0.0, to = 1.0)*/
private val fraction: Float
) : ThresholdConfig

A fractional threshold will be at a fraction of the way between the two anchors.

Parameters

fraction The fraction (between 0 and 1) that the threshold will be at.

Last updated: