ZStack layers children on top of each other at the same position. Default alignment is Center; change with .Align(g.BottomTrailing) etc.
(children ...any)
| 41 | // ZStack layers children on top of each other at the same position. |
| 42 | // Default alignment is Center; change with .Align(g.BottomTrailing) etc. |
| 43 | func ZStack(children ...any) *viewNode { |
| 44 | return stackNode(viewKindZStack, children) |
| 45 | } |
| 46 | |
| 47 | // Group flattens its children into the parent layout. Use to satisfy |
| 48 | // variadic spread limitations (Go forbids mixing spread with named args). |
nothing calls this directly
no test coverage detected