richSection<T> static method
FAutocompleteSection<T>
richSection<T>({
- required Widget label,
- required List<
FAutocompleteItem< children,T> > - FAutocompleteSectionStyleDelta style = const .context(),
- bool? enabled,
- FItemDivider divider = .none,
- Key? key,
Creates a FAutocompleteSection with the given children.
This function is a shorthand for FAutocompleteSection.rich.
Implementation
static FAutocompleteSection<T> richSection<T>({
required Widget label,
required List<FAutocompleteItem<T>> children,
FAutocompleteSectionStyleDelta style = const .context(),
bool? enabled,
FItemDivider divider = .none,
Key? key,
}) => .rich(label: label, style: style, enabled: enabled, divider: divider, key: key, children: children);