pub type AutocompleteOptionsViewBuilder<T> = Rc<dyn Fn(&mut App, BuildContext, AutocompleteOnSelected<T>, &[T]) -> WidgetRef>;Expand description
The type of the RawAutocomplete callback which returns a widget that displays the
specified options and calls on_selected if the user selects an option.
The returned widget from this callback will be wrapped in an
AutocompleteHighlightedOption inherited widget. This will allow this callback to
determine which option is currently highlighted for keyboard navigation.
See also:
RawAutocomplete::options_view_builder, which is of this type.
Aliased Typeยง
pub struct AutocompleteOptionsViewBuilder<T> { /* private fields */ }