r/FlutterFlow • • Oct 24 '24

Offering free flutterflow help

If it doesn't require me to actually get on the project and work or fix it then it's free. Just love problem solving and got some time to kill.

17 Upvotes

80 comments sorted by

View all comments

1

u/azzar94611 Nov 01 '24

Hi Zoyanx, I have a small on that I haven’t been able to figure out from docs and forum:

Some of the containers in my app trigger an action on tap.

I would like them to display a different color or an animation when they are pressed. In a similar way than what buttons do.

Is there a way to do that ?

Thanks you so much for the help!

1

u/zoyanx Nov 01 '24

Set the container color to a variable in component state. Set default to white and on tap set the state to grey wait 100ms and then set the state to white. You have successfully replicated the visual response.

1

u/azzar94611 Nov 01 '24

Thanks! It worked like a charm :D

I changed the variable « on tap down / on tap up » to convey the press action