FItemGroup.group constructor

FItemGroup.group({
  1. required List<FItemMixin> children,
  2. FItemGroupStyle style(
    1. FItemGroupStyle style
    )?,
  3. ScrollController? scrollController,
  4. double? cacheExtent,
  5. double maxHeight = .infinity,
  6. DragStartBehavior dragStartBehavior = .start,
  7. ScrollPhysics physics = const ClampingScrollPhysics(),
  8. bool? enabled,
  9. FItemDivider divider = .none,
  10. String? semanticsLabel,
  11. Key? key,
})

Creates a FItemGroup.

This function is a shorthand for FItemGroup.new.

Implementation

FItemGroup.group({
  required List<FItemMixin> children,
  FItemGroupStyle Function(FItemGroupStyle style)? style,
  ScrollController? scrollController,
  double? cacheExtent,
  double maxHeight = .infinity,
  DragStartBehavior dragStartBehavior = .start,
  ScrollPhysics physics = const ClampingScrollPhysics(),
  bool? enabled,
  FItemDivider divider = .none,
  String? semanticsLabel,
  Key? key,
}) : this(
       children: children,
       style: style,
       scrollController: scrollController,
       cacheExtent: cacheExtent,
       maxHeight: maxHeight,
       dragStartBehavior: dragStartBehavior,
       physics: physics,
       enabled: enabled,
       divider: divider,
       semanticsLabel: semanticsLabel,
       key: key,
     );