You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @Richard-Walter, I've investigated a bit on how to implement this feature, unfortunately it's not as easy as it seems because of a dependency to the package positioned_tap_detector_2 which hasn't been updated to support the onSecondaryTap event.
If we want to implement this feature we'll have to re-implement the PositionedTapDetector2 widget by ourselves, which might not be a bad thing as we would rely on one less dependency but implies a bit of work.
On Fri, Feb 17, 2023 at 4:30 AM Guillaume Roux ***@***.***> wrote:
Hi @Richard-Walter <https://github.com/Richard-Walter>, I've investigated
a bit on how to implement this feature, unfortunately it's not as easy as
it seems because of a dependency to the package positioned_tap_detector_2
<https://pub.dev/packages/positioned_tap_detector_2> which hasn't been
updated to support the onSecondaryTap event.
If we want to implement this feature we'll have to re-implement the
PositionedTapDetector2 widget by ourselves, which might not be a bad
thing as we would rely on one less dependency but implies a bit of work.
—
Reply to this email directly, view it on GitHub
<#1444 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALMOWACPKZTX5BWRKTKGJPTWXZP35ANCNFSM6AAAAAAUV2XD6M>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
What do you want implemented?
Please add the onSecondaryTap click callback so windows users can capture a right-click event when clicking on the map.
What other alternatives are available?
Currently, having to use the onLongPresss callback but this is not intuitive too windows users:
Can you provide any other information?
See https://api.flutter.dev/flutter/widgets/GestureDetector/onSecondaryTap.html
Heres a package that is capturing a right-click event to display a context menu: https://pub.dev/packages/native_context_menu.
Platforms Affected
Windows, MacOS, Linux
Severity
Annoying: Currently have to use workarounds
Requirements
The text was updated successfully, but these errors were encountered: