In FlutterFlow's TextField, I want to configure the Toggle Hide Password Icon's color based on whether the password is visible or not. Here's the behavior I'm aiming for:
When the password is hidden (default state), the icon should use the secondary color.
When the password is visible, the icon should use the primary color.
Could you suggest a more robust way to achieve this functionality? Thank you!