rememberKomposeCountryCodePickerState
fun rememberKomposeCountryCodePickerState(defaultCountryCode: String? = null, limitedCountries: List<String> = emptyList(), showCountryCode: Boolean = true, showCountryFlag: Boolean = true): CountryCodePicker
Creates a CountryCodePicker that is remembered across compositions.
Return
A CountryCodePicker that holds the different utilities for the country code picker.
Parameters
defaultCountryCode
The default country code to be displayed in the text field.
limitedCountries
The list of countries to be displayed in the country code picker dialog.
showCountryCode
If true, the country code will be shown in the text field.
showCountryFlag
If true, the country flag will be shown in the text field.