Breadcrumb
A path trail built from BreadcrumbItem entries, with a plain / separator or a chevron icon separator.
dart
FBBreadcrumb.standard(
items: [
BreadcrumbItem(label: 'Home'),
BreadcrumbItem(label: 'Settings'),
],
);1
2
3
4
5
6
2
3
4
5
6
CLI
Install this component into your project:
breadcrumb
$
flutter_beautify add breadcrumbVariants
FBBreadcrumb.standard() (a / separator) · FBBreadcrumb.arrow() (a chevron icon separator)
Key parameters
| Parameter | Type | Default |
|---|---|---|
items | List<BreadcrumbItem> | required |
Usage
dart
import 'package:your_app/widgets/breadcrumb.dart';
FBBreadcrumb.arrow(
items: [
BreadcrumbItem(label: 'Home'),
BreadcrumbItem(label: 'Products'),
BreadcrumbItem(label: 'Shoes'),
],
);1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
