Lock swipe direction of SwipeableStack

Widgets & Design

I have a SwipeableStack widget where when you swipe to the left there is a group of actions that are executed and when you swipe to the right another group of different actions are executed, the thing is that I don't need any type of functionality when you swipe up or down and if the user tries to do so the widget seems to be broken for the user. Is there a way to prevent swiping up or down?

I tried using a Carousel or a PageView but these do not allow me to independently handle the actions depending on where the swipe is done.

What have you tried so far?

The widget does not allow swipe directions to be disabled.

Did you check FlutterFlow's Documentation for this topic?
Yes
2
4 replies