// StackingMode controls whether a StackedLayout shows one child or all. constroot = newWidget(parent); conststack = newStackedLayout(); root.layout = stack;
// StackOne: only the currentIndex widget is visible (default) stack.stackingMode = StackingMode.StackOne;
Enum specifying stacking order mode.
Example