Stack.setVisibleChild

Makes child the visible child of stack.

If child is different from the currently visible child, the transition between the two will be animated with the current transition type of stack.

Note that the child widget has to be visible itself (see Widget.show) in order to become the visible child of stack.

class Stack
void
setVisibleChild

Parameters

child Widget

a child of stack

Meta

Since

3.10