FlenxStoreShell constructor

const FlenxStoreShell({
  1. required String brand,
  2. required List<MenuLink> categories,
  3. List<Component> children = const [],
  4. String searchPlaceholder = 'O que vocĂȘ procura hoje?',
  5. String searchAction = '/produtos',
  6. String? cep,
  7. String accountHref = '/conta',
  8. String accountLabel = 'Entrar',
  9. String wishlistHref = '/produtos',
  10. String cartHref = '/carrinho',
  11. int cartCount = 0,
  12. String? promo,
  13. List<FlenxFooterColumn> footerColumns = const [],
  14. List<String> payments = const [],
  15. String? copyright,
  16. Key? key,
})

Implementation

const FlenxStoreShell({
  required this.brand,
  required this.categories,
  this.children = const [],
  this.searchPlaceholder = 'O que vocĂȘ procura hoje?',
  this.searchAction = '/produtos',
  this.cep,
  this.accountHref = '/conta',
  this.accountLabel = 'Entrar',
  this.wishlistHref = '/produtos',
  this.cartHref = '/carrinho',
  this.cartCount = 0,
  this.promo,
  this.footerColumns = const [],
  this.payments = const [],
  this.copyright,
  super.key,
});