Container centres content at a measure, and Stack puts one gap from the spacing scale between a row or a column of children. Between them they cover page measure, section rhythm, and the ordinary rows and columns that would otherwise be bespoke CSS in every app.
Stack is why no component here carries a margin of its own, since the space between two things belongs to whatever holds both of them.
Page layouts
For a list beside a detail pane, or a main pane with a companion, useListDetail and SupportingPane. They follow Material Design’s canonical layouts and stand the panes side by side from the expanded window size class.
Lining up an app bar
AnAppBar that paints edge to edge can still line its contents up with the page beneath it. Give it the page’s measure and the page’s gutter:
Scrolling and collapsing
AppBar takes scrolled and collapsed, and both are controlled, because only the app knows which element scrolls. A pinned flexible bar gives its height back as the page scrolls, becoming the small bar:

