patterns/layout library

Classes

UiAppBar
Simple top bar with title, leading and trailing slots.
UiAppShell
Generic app shell: optional top/bottom bars around a body.
UiCollectionPage<T>
Semantic collection page pattern.
UiContentPage
A titled, vertically scrolling page composed from Open UI Kit navigation, safe-area, spacing, and refresh primitives.
UiDualPane<T>
Adaptive master-detail layout.
UiDualPaneController<T>
Selection controller for UiDualPane.
UiDualPaneScope<T>
Inherited access to a UiDualPaneController.
UiFormPage
Semantic form page pattern.
UiPageBodyInsets
UiPageLayout
Semantic page pattern built on UiPageScaffold.
UiPageScaffold
Preferred page shell: coordinates background, top/bottom bars, safe viewport policy, and system bar syncing in a single widget.
UiProfileSummary
Centered profile summary pattern: avatar, primary name, optional subtitle, and optional action row.
UiSafeViewport
Applies a predictable safe-area strategy for Open UI Kit pages.
UiScrollEdgeFade
Paints inexpensive surface-color fades over the vertical edges of child.
UiSettingsGroup
UiSettingsItem
UiSettingsList
Grouped settings/action list pattern.
UiSliverCollection<T>
Section-aware sliver collection with adaptive one/two-column rows.
UiSurfaceRegion
Visually-scoped surface region.
UiSystemBars
Applies a SystemUiOverlayStyle to the subtree via AnnotatedRegion.
UiSystemBarsStyle
Helpers for building SystemUiOverlayStyle values from a background color. Exposed so consumers can cache/reuse the result when they need the raw style object (e.g. to pass into an external AnnotatedRegion).

Enums

UiCollectionLayout
UiDualPaneTabletMode
How a tablet-width master/detail surface should use constrained width.
UiPageBodyInsetsAspect
Safe insets that page body scrollables should include in their content padding when UiPageScaffold.scrollFadeUsesSafeArea is enabled.
UiSafeViewportMode
Safe-area policy for a page subtree.

Typedefs

UiCollectionItemBuilder<T> = Widget Function(BuildContext context, T item, int index)
UiCollectionSectionBuilder<T> = Widget? Function(BuildContext context, T item, int index)
Builds a header when item starts a new collection section. Return null when the item continues the current section.
UiDualPaneBuilder<T> = Widget Function(BuildContext context, T? selected, void select(T? value))