ZetaGlobalHeader constructor
- Key? key,
- bool? rounded,
- required String platformName,
- Widget? logo,
- Widget? searchBar,
- List<
Widget> actionItems = const [], - String? userName,
- VoidCallback? onHamburgerMenuPressed,
- VoidCallback? onAvatarButtonPressed,
- VoidCallback? onAppsButtonPressed,
- Widget? avatar,
- Widget? leading,
- Widget? trailing,
- String? trailingSemanticLabel = 'App switcher button',
- String? leadingSemanticLabel = 'Hamburger menu button',
- String? logoSemanticLabel = 'Zebra logo',
- String? avatarSemanticLabel = 'User avatar button',
Constructs ZetaGlobalHeader
Implementation
const ZetaGlobalHeader({
super.key,
super.rounded,
required this.platformName,
this.logo,
this.navItems = const [],
this.searchBar,
this.actionItems = const [],
this.userName,
this.onHamburgerMenuPressed,
this.onAvatarButtonPressed,
this.onAppsButtonPressed,
this.avatar,
this.leading,
this.trailing,
this.trailingSemanticLabel = 'App switcher button',
this.leadingSemanticLabel = 'Hamburger menu button',
this.logoSemanticLabel = 'Zebra logo',
this.avatarSemanticLabel = 'User avatar button',
});