GestureInclusion
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
Added in 1.6.0-alpha06
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 |
|