plushie/widget/stack

Stack container widget builder.

Types

pub opaque type Stack

Values

pub fn a11y(s: Stack, a: a11y.A11y) -> Stack

Set accessibility properties for this widget.

pub fn build(s: Stack) -> node.Node

Build the stack into a renderable Node.

pub fn clip(s: Stack, c: Bool) -> Stack

Set whether overflowing content is clipped.

pub fn extend(s: Stack, children: List(node.Node)) -> Stack

Add multiple child nodes.

pub fn height(s: Stack, h: length.Length) -> Stack

Set the height.

pub fn new(id: String) -> Stack

Create a new stack builder.

pub fn padding(s: Stack, p: padding.Padding) -> Stack

Set the padding.

pub fn push(s: Stack, child: node.Node) -> Stack

Add a child node.

pub fn width(s: Stack, w: length.Length) -> Stack

Set the width.

Search Document