All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.moe.tlaster.precompose.navigation.SwipeProperties.kt Maven / Gradle / Ivy

Go to download

A third-party Jetbrains Compose library with ViewModel, LiveData and Navigation support.

There is a newer version: 1.7.0-alpha03
Show newest version
package moe.tlaster.precompose.navigation

import androidx.compose.ui.unit.Density
import androidx.compose.ui.unit.dp

class SwipeProperties(
    val positionalThreshold: (totalDistance: Float) -> Float = { distance: Float -> distance * 0.5f },
    val velocityThreshold: Density.() -> Float = { 56.dp.toPx() },
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy