HeaderProps constructor

const HeaderProps({
  1. required List<NavItemProps> navItems,
  2. List<Component>? actions,
  3. bool showSearch = false,
  4. String searchPlaceholder = 'Search...',
  5. void onSearch(
    1. String
    )?,
  6. bool sticky = true,
  7. bool transparent = false,
  8. bool bordered = true,
})

Implementation

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