Breadcrumb
The breadcrumb is a secondary navigation pattern that helps a user understand the hierarchy among levels and navigate back through them.

Widget API
Property
Description
children
A list of CBreadcrumbItem to display in a row.
Type:
List<CBreadcrumbItem>Default: required
noTrailingSlash
Whether to omit the trailing slash for the breadcrumbs or not.
Type:
boolDefault:
true
breadcrumbsLimit
To truncate the breadcrumbs when children length exceeds breadcrumbsLimit.
Type:
intDefault: 3
Property
Description
child
The content of the breadcrumb item.
Type:
WidgetDefault: required
onTap
Called when the item is tapped.
Type:
VoidCallbackDefault: required
isCurrentPage
Whether this breadcrumb item represents the current page or not.
Type:
WidgetDefault:
true
Example
Last updated