Screen Header Bar
A header bar for screens, typically containing the title and actions.
Figma Link
https://www.figma.com/design/JesXQFLaPJLc1BdBM4sisI/%F0%9F%A6%93-ZDS---Components?node-id=24601-9207
- Web Components
- Flutter
Web component not available yet
Demo
Widgetbook
Inheritance
Object > DiagnosticableTree > Widget > StatelessWidget > ZetaStatelessWidget
Constructors
Constructor for ZetaScreenHeaderBar.
ZetaScreenHeaderBar.new({Key? key, bool? rounded, Widget? title, String? actionButtonLabel, VoidCallback? onActionButtonPressed, String? backSemanticLabel, VoidCallback? onBackButtonPressed})
Properties
| Name | Description | Type | Features |
|---|---|---|---|
| actionButtonLabel | The label of the action button. | String? | final |
| backSemanticLabel | The semantic label for the back button. | String? | final |
| hashCode | The hash code for this object. | int | no setter inherited |
| key | Controls how one widget replaces another widget in the tree. | Key? | final inherited |
| onActionButtonPressed | Called when the action button is pressed. | VoidCallback? | final |
| onBackButtonPressed | Called when the back button is pressed. | VoidCallback? | final |
| rounded | Sets rounded or sharp border of the containing box and the icon style. | bool? | final inherited |
| runtimeType | A representation of the runtime type of the object. | Type | no setter inherited |
| title | The title of ZetaScreenHeaderBar. Normally a Text widget. | Widget? | final |