richSection static method

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

Creates a FAutocompleteSection with the given children.

This function is a shorthand for FAutocompleteSection.rich.

Implementation

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