Country Search State
constructor(countriesToShow: List<String> = emptyList(), countriesToExclude: List<String> = emptyList(), pinnedCountries: List<String> = emptyList())(source)
Parameters
countries To Show
Whitelist of ISO codes to show. Empty = all countries.
countries To Exclude
Blacklist of ISO codes to hide regardless of countriesToShow.
pinned Countries
ISO codes of countries pinned to a "Suggested" section at the top of the list. Only visible when query is blank.
Create via rememberCountrySearchState.