storing tap location

Actions & Logic

On my Home Page, I have an image. When a user long-taps the image, I open a review page. After they submit a review, I want a small circle (marker) to appear on the image exactly where they tapped.

I’m storing the tap location, but I don’t know how to place the circle at that exact spot over the image in the home page. There's no Positioned widget, and I’m not sure how to do this with Align.

Any ideas on how to make this work?

What have you tried so far?
  • I capture the tap location using a long press.

  • I save the tap X and Y as values between 0 and 1.

  • I store those in Firestore with the review.

  • On the Home Page, I use a Stack with the image and try to show circles on top of it.

  • I tried using the Align widget to place the circles, but they all appear in the center or wrong spot.

I’m not sure how to convert the saved values into correct positions using Align.

Did you check FlutterFlow's Documentation for this topic?
Yes
1