CBreadcrumb constructor

CBreadcrumb({
  1. Key? key,
  2. required List<CBreadcrumbItem> children,
  3. bool noTrailingSlash = true,
  4. int breadcrumbsLimit = 3,
})

Implementation

CBreadcrumb({
  Key? key,
  required List<CBreadcrumbItem> children,
  bool noTrailingSlash = true,
  int breadcrumbsLimit = 3,
})  : assert(breadcrumbsLimit >= 3),
      props = CBreadcrumbProps(
        children: children,
        noTrailingSlash: noTrailingSlash,
        breadcrumbsLimit: breadcrumbsLimit,
      ),
      super(key: key);