DragDirectionExtension extension

Extension to apply direction constraints to offsets.

on

Methods

constrainDelta(Offset delta) Offset

Available on DragDirection, provided by the DragDirectionExtension extension

Constrains an offset to the allowed direction.