DragDirectionExtension extension
Extension to apply direction constraints to offsets.
Methods
-
constrainDelta(
Offset delta) → Offset -
Available on DragDirection, provided by the DragDirectionExtension extension
Constrains an offset to the allowed direction.