Using button to change image source url

Actions & Logic

I cannot figure out a way to use a button click to change an image's source url

I'm using the OnTap action - but can't seem to find the image object to change the property

This must be something simple that I've overlooked but I'm stumped

Maybe by setting the url to some kind of dynamic url with a variable and then changing the variable in the url? Or maybe custom code?

What have you tried so far?

Checked the discussions and questions - found a way to change image with image click - but not by button

Did you check FlutterFlow's Documentation for this topic?
No
1
3 replies