section static method

FAutocompleteSection section({
  1. required Widget label,
  2. required List<String> items,
  3. FAutocompleteSectionStyle style(
    1. FAutocompleteSectionStyle style
    )?,
  4. bool? enabled,
  5. FItemDivider divider = .none,
  6. Key? key,
})

Creates a FAutocompleteSection from the given items.

For more control over the appearance of individual items, use richSection.

This function is a shorthand for FAutocompleteSection.new.

Implementation

static FAutocompleteSection section({
  required Widget label,
  required List<String> items,
  FAutocompleteSectionStyle Function(FAutocompleteSectionStyle style)? style,
  bool? enabled,
  FItemDivider divider = .none,
  Key? key,
}) => .new(label: label, items: items, style: style, enabled: enabled, divider: divider, key: key);