Drag event on Line to update its details in Flutter #1331
Closed
IndrajeetS
started this conversation in
General
Replies: 1 comment
-
Getting no response or help from anyone, closing the conversation |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to detect a drag gesture on a line and update its details?
Currently, I can detect a tap gesture, but there doesn't seem to be an option to detect a drag gesture.
Currently, I have implemented a solution where a new line is drawn every time a drag event occurs over an existing line. This is achieved by using a GestureDetector to capture the screen offset and converting it into LatLng coordinates. However, I believe this approach is not ideal and there may be a better solution available.
Beta Was this translation helpful? Give feedback.
All reactions