section static method
FAutocompleteSection
section({
- required Widget label,
- required List<
String> items, - FAutocompleteSectionStyle style()?,
- bool? enabled,
- FItemDivider divider = .none,
- 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);