FBreadcrumbItem.collapsed constructor

const FBreadcrumbItem.collapsed({
  1. required List<FTileGroup> menu,
  2. FPopoverMenuStyle? popoverMenuStyle,
  3. FPopoverController? popoverController,
  4. ScrollController? scrollController,
  5. double? cacheExtent,
  6. double maxHeight,
  7. DragStartBehavior dragStartBehavior,
  8. FTileDivider divider,
  9. AlignmentGeometry menuAnchor,
  10. AlignmentGeometry childAnchor,
  11. FPortalSpacing spacing,
  12. Offset shift(
    1. Size,
    2. FPortalChildBox,
    3. FPortalBox
    ),
  13. Offset offset,
  14. FHidePopoverRegion hideOnTapOutside,
  15. bool autofocus,
  16. FocusScopeNode? focusNode,
  17. ValueChanged<bool>? onFocusChange,
  18. ValueChanged<bool>? onHoverChange,
  19. ValueChanged<Set<WidgetState>>? onStateChange,
  20. TraversalEdgeBehavior traversalEdgeBehavior,
  21. String? semanticsLabel,
  22. 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;