AutocompleteUICustomization
struct AutocompleteUICustomization
UI customizations for the Autocomplete place picker.
-
Initializes an AutocompleteUICustomization with the given parameters.
Declaration
Swift
init(listDensity: AutocompleteListDensity = .twoLine, listItemIcon: AutocompleteUIIcon = .defaultIcon, theme: PlacesMaterialTheme = PlacesMaterialTheme())
Parameters
listDensity
The content density of the suggestion list.
listItemIcon
The icon to display at the leading edge of each list item.
theme
The theme of the view.
-
The content density of the suggestion list.
Declaration
Swift
var listDensity: AutocompleteListDensity
-
The icon to display at the leading edge of each list item.
Declaration
Swift
var listItemIcon: AutocompleteUIIcon
-
The theme of the view.
Declaration
Swift
var theme: PlacesMaterialTheme