Hello
I have a swipeable stack that contains a stack of two containers with text.
Structure:
Swipeable Stack
Stack
Container A ๐๏ธ
Container B
I also have a Local Page State Variable "showFront" which is initialized as being True.
When I click anywhere on my swipeable stack, I invert the value of showFront so I can switch between showFront == True and showFront == False.
I have added a Textfield to my Page as well that is displaying the value of showFront and I can see it changing with each click.
I have set conditional visibility for Container A to showFront == True.
This means, when showFront == True, Container A should overlap and hide Container B.
However, despite showFront changing between True and False, the visibility of Container A is never updated. Container A will always be shown and I cannot hide it.
Does anybody know what is going on and why I cannot update the visibility of my widget even though the value can be displayed in a Text-Widget?
Any help is greatly appreciated.