KomposeCountryCodePicker
KomposeCountryCodePicker is a composable that displays a text field with a country code picker dialog.
Parameters
The state of the country code picker.
The text to be displayed in the text field.
Modifier to be applied to the layout.
Called when the value is changed.
If true, the text field will be displayed in the error state.
If true, only the country code picker will be displayed.
The shape of the text field's outline.
The placeholder to be displayed in the text field.
The colors to be used to display the text field.
The trailing icon to be displayed in the text field.
The color to be used to display the country selection dialog container.
The color to be used to display the country selection dialog content. text.
The MutableInteractionSource representing the stream of Interactions for this text field.
The size of the selected country flag (width and height in .dp
).
The style to be used for displaying text on the TextField
and the selected country.
Controls the enabled state of the text field.