pub fn app_bar() -> AppBarBuilderExpand description
§app_bar
Render a container row for app-level navigation and actions.
§Usage
Use for custom top bars with mixed content like search fields or tabs.
§Parameters
modifier— modifier chain applied to the app bar container.container_color— optional app bar surface color.content_color— optional default content color propagated to descendants.elevation— optional surface elevation.content_padding— optional padding applied to the row content.main_axis_alignment— optional main-axis alignment for the row.cross_axis_alignment— optional cross-axis alignment for the row.content— optional row content slot.
§Examples
use tessera_components::{app_bar::app_bar, text::text};
app_bar().content(|| {
text("Inbox");
});