Package-level declarations
Functions
Link copied to clipboard
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))
Link copied to clipboard
fun TogiCountryCodePicker(onValueChange: (Pair<PhoneCode, String>, Boolean) -> Unit, modifier: Modifier = Modifier, autoDetectCode: Boolean = false, enabled: Boolean = true, shape: Shape = DEFAULT_TEXT_FIELD_SHAPE, showCountryCode: Boolean = true, showCountryFlag: Boolean = true, colors: TextFieldColors = TextFieldDefaults.outlinedTextFieldColors(), fallbackCountry: CountryData = CountryData.UnitedStates, showPlaceholder: Boolean = true, includeOnly: ImmutableSet<String>? = null, clearIcon: ImageVector? = Icons.Filled.Clear, initialPhoneNumber: String? = null, initialCountryIsoCode: Iso31661alpha2? = null, initialCountryPhoneCode: PhoneCode? = null, label: @Composable () -> Unit? = null, textStyle: TextStyle = MaterialTheme.typography.body1.copy(
color = colors.textColor(enabled = true).value,
), keyboardOptions: KeyboardOptions? = null, keyboardActions: KeyboardActions? = null, showError: Boolean = true)