Country
  fun CountryDialog(onDismissRequest: () -> Unit, onSelect: (item: CountryData) -> Unit, textStyle: TextStyle, modifier: Modifier = Modifier, countryList: ImmutableList<CountryData> = persistentListOf(), rowPadding: Dp = DEFAULT_ROW_PADDING, backgroundColor: Color = MaterialTheme.colors.surface, dividerColor: Color = MaterialTheme.colors.onSurface.copy(alpha = DIVIDER_ALPHA))
Parameters
on
Executes when the user tries to dismiss the dialog.
on
Executes when the user selects a country from the list.
text
A TextStyle for customizing text style of search input field and country rows.
modifier
The modifier to be applied to the dialog surface.
country
The list of countries to display in the dialog.
row
The padding to be applied to each row.
background
The Color of the dialog background.
divider
The Color of the country row dividers.