Change conditional visibility at the end of an animation

Actions & Logic

I have a login page created with a conditional builder. In which if the "log in" button is pressed, a container appears with a "loading" animation. The animation lasts about 3 seconds. What I need is that when that animation ends, change the condition to make the container disappear and go to the next page. That's possible?

What have you tried so far?

I created a variable of type boolean with a false condition in app state. When the button is pressed, it changes the variable to true. I tried to create a delay and in the same action flow editor, return the variable to false but it does nothing.

Did you check FlutterFlow's Documentation for this topic?
Yes
1 reply