richSection<T> static method

FSelectSection<T> richSection<T>({
  1. required Widget label,
  2. required List<FSelectItem<T>> children,
  3. FSelectSectionStyle style(
    1. FSelectSectionStyle style
    )?,
  4. bool? enabled,
  5. FItemDivider divider = .none,
  6. Key? key,
})

Creates a FSelectSection with the given children.

This function is a shorthand for FSelectSection.rich.

Implementation

static FSelectSection<T> richSection<T>({
  required Widget label,
  required List<FSelectItem<T>> children,
  FSelectSectionStyle Function(FSelectSectionStyle style)? style,
  bool? enabled,
  FItemDivider divider = .none,
  Key? key,
}) => .rich(label: label, style: style, enabled: enabled, divider: divider, key: key, children: children);