FBreadcrumbItem.collapsed constructor

const FBreadcrumbItem.collapsed({
  1. required List<FItemGroup> menu,
  2. Widget? icon,
  3. FPopoverMenuStyleDelta popoverMenuStyle,
  4. FPopoverControl popoverControl,
  5. ScrollController? scrollController,
  6. ScrollCacheExtent? scrollCacheExtent,
  7. double maxHeight,
  8. bool intrinsicWidth,
  9. DragStartBehavior dragStartBehavior,
  10. FItemDivider divider,
  11. AlignmentGeometry menuAnchor,
  12. AlignmentGeometry childAnchor,
  13. FPortalSpacing spacing,
  14. FPortalOverflow overflow,
  15. Offset offset,
  16. FPopoverHideRegion hideRegion,
  17. bool cutout,
  18. void cutoutBuilder(
    1. Path path,
    2. Rect bounds
    ),
  19. VoidCallback? onTapHide,
  20. bool autofocus,
  21. FocusScopeNode? focusNode,
  22. ValueChanged<bool>? onFocusChange,
  23. ValueChanged<bool>? onHoverChange,
  24. FTappableVariantChangeCallback? onVariantChange,
  25. TraversalEdgeBehavior traversalEdgeBehavior,
  26. String? semanticsLabel,
  27. 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,
  Widget? icon,
  FPopoverMenuStyleDelta popoverMenuStyle,
  FPopoverControl popoverControl,
  ScrollController? scrollController,
  ScrollCacheExtent? scrollCacheExtent,
  double maxHeight,
  bool intrinsicWidth,
  DragStartBehavior dragStartBehavior,
  FItemDivider divider,
  AlignmentGeometry menuAnchor,
  AlignmentGeometry childAnchor,
  FPortalSpacing spacing,
  FPortalOverflow overflow,
  Offset offset,
  FPopoverHideRegion hideRegion,
  bool cutout,
  void Function(Path path, Rect bounds) cutoutBuilder,
  VoidCallback? onTapHide,
  bool autofocus,
  FocusScopeNode? focusNode,
  ValueChanged<bool>? onFocusChange,
  ValueChanged<bool>? onHoverChange,
  FTappableVariantChangeCallback? onVariantChange,
  TraversalEdgeBehavior traversalEdgeBehavior,
  String? semanticsLabel,
  Key? key,
}) = _CollapsedCrumb;