ChromiaAppBar
A customizable app bar component that follows the Chromia design system.Basic Usage
Parameters
Title text to display in the app bar
Custom title widget (overrides
title)Leading widget (replaces back button)
Action widgets displayed on the right side
Bottom widget (e.g., TabBar)
Background color of the app bar
Foreground color for text and icons
Elevation of the app bar
Whether to center the title
Whether to show back button automatically when navigation is possible
Callback when back button is pressed
Custom height for the app bar
Example with Custom Styling
ChromiaSearchAppBar
A search app bar with integrated search field.Basic Usage
Parameters
Called when search query changes
Hint text for search field
Leading widget (defaults to back button)
Action widgets
Background color
Custom height
Whether to autofocus the search field
Text editing controller for the search field
ChromiaTabBar
An app bar bottom widget that displays tabs.Basic Usage
Parameters
List of tabs to display
Tab controller
Whether tabs should be scrollable
Color of the tab indicator
Color of selected tab label
Color of unselected tab labels
ChromiaSliverAppBar
A collapsible app bar that expands and collapses on scroll.Basic Usage
Parameters
Title text
Custom title widget
Leading widget
Action widgets
Flexible space widget (appears in the expanded area)
Background color
Foreground color
Height when fully expanded
Height when collapsed
Whether the app bar should remain visible at the top
Whether the app bar should become visible as soon as the user scrolls
Whether the app bar should snap into view
Whether the app bar should stretch beyond its normal size
