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.

class Stack
void
setVisibleChild

Parameters

child Widget

a child of stack Since 3.10

Meta