salah-rashad / flutter_context_menu

Create and display a customizable context menus in your app.
BSD 3-Clause "New" or "Revised" License
21 stars 7 forks source link

onLongPress is not a required function #6

Open wenchaosong opened 10 months ago

wenchaosong commented 10 months ago

There has a simple requirement right click to show menu and long press to multiselect

Can you add a field
supportLongPress or something else to enable the onLongPress function in GestureDetector

salah-rashad commented 10 months ago

It seems I might have missed some details. To clarify, are you suggesting making the 'longTapPressed' optional?

Could you share additional details, code snippets, or even screenshots of the context you're working in? This will help me better understand the situation.

Thank you

wenchaosong commented 10 months ago

@salah-rashad yes I mean make the longTapPressed optional , because sometimes need long press to do other things