FBreadcrumbItem.collapsed constructor
const
FBreadcrumbItem.collapsed({
- FPopoverMenuStyle? popoverMenuStyle,
- FPopoverController? popoverController,
- ScrollController? scrollController,
- double? cacheExtent,
- double maxHeight,
- DragStartBehavior dragStartBehavior,
- FTileDivider divider,
- AlignmentGeometry childAnchor,
- FPortalSpacing spacing,
- Offset shift(),
- Offset offset,
- FHidePopoverRegion hideOnTapOutside,
- bool autofocus,
- FocusScopeNode? focusNode,
- ValueChanged<
bool> ? onFocusChange, - ValueChanged<
bool> ? onHoverChange, - ValueChanged<
Set< ? onStateChange,WidgetState> > - TraversalEdgeBehavior traversalEdgeBehavior,
- String? semanticsLabel,
- Key? key,
Creates a collapsed crumb.
It is typically used to keep the breadcrumb compact and reduce the number of items displayed. When tapped, it displays a popover menu with the collapsed items.
Implementation
const factory FBreadcrumbItem.collapsed({
required List<FTileGroup> menu,
FPopoverMenuStyle? popoverMenuStyle,
FPopoverController? popoverController,
ScrollController? scrollController,
double? cacheExtent,
double maxHeight,
DragStartBehavior dragStartBehavior,
FTileDivider divider,
AlignmentGeometry menuAnchor,
AlignmentGeometry childAnchor,
FPortalSpacing spacing,
Offset Function(Size, FPortalChildBox, FPortalBox) shift,
Offset offset,
FHidePopoverRegion hideOnTapOutside,
bool autofocus,
FocusScopeNode? focusNode,
ValueChanged<bool>? onFocusChange,
ValueChanged<bool>? onHoverChange,
ValueChanged<Set<WidgetState>>? onStateChange,
TraversalEdgeBehavior traversalEdgeBehavior,
String? semanticsLabel,
Key? key,
}) = _CollapsedCrumb;