HeaderProps constructor

const HeaderProps({
  1. List<NavItemProps> navItems = const [],
  2. Widget? customNav,
  3. List<Widget>? actions,
  4. bool showSearch = false,
  5. String searchPlaceholder = 'Search...',
  6. void onSearch(
    1. String
    )?,
  7. bool sticky = true,
  8. bool transparent = false,
  9. bool bordered = true,
  10. double? height,
})

Implementation

const HeaderProps({
  required this.logo,
  this.navItems = const [],
  this.customNav,
  this.actions,
  this.showSearch = false,
  this.searchPlaceholder = 'Search...',
  this.onSearch,
  this.sticky = true,
  this.transparent = false,
  this.bordered = true,
  this.height,
});