FBreadcrumbItem.collapsed constructor

const FBreadcrumbItem.collapsed({
  1. required List<FItemGroup> menu,
  2. FPopoverMenuStyle popoverMenuStyle(
    1. FPopoverMenuStyle
    )?,
  3. FPopoverController? popoverController,
  4. ScrollController? scrollController,
  5. double? cacheExtent,
  6. double maxHeight,
  7. DragStartBehavior dragStartBehavior,
  8. FItemDivider divider,
  9. AlignmentGeometry menuAnchor,
  10. AlignmentGeometry childAnchor,
  11. FPortalSpacing spacing,
  12. Offset shift(
    1. Size,
    2. FPortalChildBox,
    3. FPortalBox
    ),
  13. Offset offset,
  14. FPopoverHideRegion hideRegion,
  15. VoidCallback? onTapHide,
  16. bool autofocus,
  17. FocusScopeNode? focusNode,
  18. ValueChanged<bool>? onFocusChange,
  19. ValueChanged<bool>? onHoverChange,
  20. ValueChanged<Set<WidgetState>>? onStateChange,
  21. TraversalEdgeBehavior traversalEdgeBehavior,
  22. String? semanticsLabel,
  23. Key? key,
})

Creates a collapsed crumb using FItems.

Recommended for desktops & web.

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<FItemGroup> menu,
  FPopoverMenuStyle Function(FPopoverMenuStyle)? popoverMenuStyle,
  FPopoverController? popoverController,
  ScrollController? scrollController,
  double? cacheExtent,
  double maxHeight,
  DragStartBehavior dragStartBehavior,
  FItemDivider divider,
  AlignmentGeometry menuAnchor,
  AlignmentGeometry childAnchor,
  FPortalSpacing spacing,
  Offset Function(Size, FPortalChildBox, FPortalBox) shift,
  Offset offset,
  FPopoverHideRegion hideRegion,
  VoidCallback? onTapHide,
  bool autofocus,
  FocusScopeNode? focusNode,
  ValueChanged<bool>? onFocusChange,
  ValueChanged<bool>? onHoverChange,
  ValueChanged<Set<WidgetState>>? onStateChange,
  TraversalEdgeBehavior traversalEdgeBehavior,
  String? semanticsLabel,
  Key? key,
}) = _CollapsedCrumb;