zero.appdocs

Stack

Presentations v1.0 zero-schema

No description provided.

Required fields

PresentationType Children

Properties

PresentationType string required
A Stack widget allows you to place widgets on top of each other. This is useful for creating complex layouts with overlapping elements. The Stack positions its children relative to the edges of the container or to each other, based on their alignment.
AlignmentDirectional string optional
Defines the alignment of the children within the stack.
Allowed Center CenterEnd CenterStart TopCenter TopEnd TopStart BottomCenter BottomEnd BottomStart
StackFit string optional
Specifies how the children should be sized to fit within the stack.
Allowed Expanded Cover FitHeight Fitwidth
Children array required
An array of child widgets to be displayed within the stack. Each item in the array should follow the schema defined for widgets.

Studio editor metadata

Shapes the studio editor; not enforced at runtime.

AlignmentDirectional
"Select"
StackFit
"Select"
Children
"Array"