Pramod
 · Building the world's best Flutterflow and Supabase Training Course

How to change button color based on current page?

In the header of my webapp, I have a bunch of buttons whose appearance I want to change based on which page it's on.


For example, if we are on the homepage, I want the homepage button to have a border, telling the user that this is the page that they are on right now.

I remember seeing this solution on one of the UI/UX livestreams, but I can't remember where it was.

TIA!

1
6 replies