I am new to flutter. I want to implement long press event on tab bar. can somebody help me with this ? A general idea of how to implement long press event on tabs of the tab bar.
CodePudding user response:
You can use 'GestureDetector' widget with 'onLongPress' property.
More information: https://api.flutter.dev/flutter/widgets/GestureDetector/onLongPress.html