I am using a custom navbar ( component) in which i want to assign active state color to nav bar icons.
Like if its in home page the respective icon will be different color.
we an achieve this by putting a if condition on icon color ...for that i need a function that outputs current page name or any other way to get he current page name .
i guess i am missing something here .......there must be built-in way for this in flutteflow