SubZeroHeader constructor

const SubZeroHeader({
  1. Key? key,
  2. SubZeroHeaderVariant variant = SubZeroHeaderVariant.primary,
  3. String? brandName,
  4. String? productName,
  5. List<SubZeroHeaderNavItem> navigationItems = const [],
  6. List<Widget> actions = const [],
  7. bool isScrolled = false,
  8. VoidCallback? onMenuPressed,
  9. double? height,
  10. bool showAngledEdge = true,
  11. VoidCallback? onLogoTap,
})

Implementation

const SubZeroHeader({
  super.key,
  this.variant = SubZeroHeaderVariant.primary,
  this.logo,
  this.brandName,
  this.productName,
  this.navigationItems = const [],
  this.actions = const [],
  this.isScrolled = false,
  this.onMenuPressed,
  this.height,
  this.showAngledEdge = true,
  this.onLogoTap,
});