Issue: String Page Parameter (Local Path) Greyed Out for Image Widget Source

Database & APIs

Hi FlutterFlow Community,

I'm passing a local image file path as a String Page Parameter (imagePath) across three pages: Inventory -> Loading -> Generated.

On LoadingPage, I use Gemini Text From Image. When Image Type is "Uploaded Image File" (expects local path string), the imagePath parameter is greyed out. It becomes selectable only if I change Image Type to "Network Image".

On GeneratedPage, I want to display this image using an Image widget. The imagePath parameter (confirmed Type: String) is passed to this page.

When the Image widget's Image Type is "Uploaded file" (expects local path string), the imagePath parameter is greyed out for the source value. When Image Type is "Network" (expects URL string), it's also greyed out.

The imagePath parameter is selectable for a Text widget on the same page, confirming it's a String parameter.

Why is a String page parameter containing a local file path greyed out for the Image widget source, regardless of "Uploaded file" or "Network" type? Is there a specific binding method needed?

Thanks for any help!

What have you tried so far?

What I've Tried:

  • Ensured the imagePathParameter on GeneratedPage is indeed Type: String.

  • Ensured the Image widget's Image Type is set to "Uploaded file".

  • Confirmed the parameter is selectable for a Text widget.

  • I also ran an if/else statement on the LoadingPage to check if the image data was being correctly received and handled by the Gemini action. This resulted in an error message indicating "this image is invalid" or something similar.

  • Followed this tutorial: https://www.youtube.com/watch?v=cKDuIZNdbh8&t=270s

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