I want to run an action when the user switches to a specific tab in my TabBar. Detecting the click is easy and works great (shown below as just adding an action to the Tab itself).
The issue is that I want users to be able to swipe to switch tabs, but I'm not sure how to detect that and run an action when that happens. TabBar itself only has actions for "double tab" and "on long press".
What's the best way to do this in Flutterflow? I've had users request we keep swiping between tabs so I'm not keen about disabling that behavior just to guarantee this action will run.