Function

pan

Sends a pan gesture with the given total offset.

trackpadInputPan

@Sampled
fun trackpadInputPan() {
    composeTestRule.onNodeWithTag("verticalScrollable").performTrackpadInput {
        pan(Offset(0f, 100f))
    }
}
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: