Why transition doesn't work?

Good time of day. I'm trying to make a smooth transition between views, but no matter what I try, the transition does not work in any way, what could be the problem? (bool variable is thrown into withAnimation)

You need to add animation for transitions to work. You can add withAnimation block around where you change isLogging

1 Like