merge static method

FItemGroup merge({
  1. required List<FItemGroupMixin> children,
  2. FItemGroupStyleDelta style = const .context(),
  3. ScrollController? scrollController,
  4. ScrollCacheExtent? scrollCacheExtent,
  5. double maxHeight = .infinity,
  6. DragStartBehavior dragStartBehavior = .start,
  7. ScrollPhysics physics = const ClampingScrollPhysics(),
  8. bool? enabled,
  9. bool? intrinsicWidth,
  10. FItemDivider divider = .full,
  11. String? semanticsLabel,
  12. Key? key,
})

Creates a FItemGroup that merges multiple FItemGroupMixins together.

All group labels will be ignored.

Implementation

static FItemGroup merge({
  required List<FItemGroupMixin> children,
  FItemGroupStyleDelta style = const .context(),
  ScrollController? scrollController,
  ScrollCacheExtent? scrollCacheExtent,
  double maxHeight = .infinity,
  DragStartBehavior dragStartBehavior = .start,
  ScrollPhysics physics = const ClampingScrollPhysics(),
  bool? enabled,
  bool? intrinsicWidth,
  FItemDivider divider = .full,
  String? semanticsLabel,
  Key? key,
}) => .merge(
  style: style,
  scrollController: scrollController,
  scrollCacheExtent: scrollCacheExtent,
  maxHeight: maxHeight,
  dragStartBehavior: dragStartBehavior,
  physics: physics,
  enabled: enabled,
  intrinsicWidth: intrinsicWidth,
  divider: divider,
  semanticsLabel: semanticsLabel,
  key: key,
  children: children,
);