interface GestureInclusion


GestureInclusion provides fine-grained control over which gestures a component should handle, given the start offset and the layout coordinates of the component.

Summary

Public functions

Boolean
ignoreGestureStart(offset: Offset, layoutCoordinates: LayoutCoordinates)

Determines whether a gesture starting at the given offset will be handled by this component.

Public functions

ignoreGestureStart

fun ignoreGestureStart(offset: Offset, layoutCoordinates: LayoutCoordinates): Boolean

Determines whether a gesture starting at the given offset will be handled by this component.

Parameters
offset: Offset

The offset of the gesture within the component's layout.

layoutCoordinates: LayoutCoordinates

The layout coordinates of the component.

Returns
Boolean

true if the gesture should be ignored by this component, false otherwise.