Country Search Item
data class CountrySearchItem(val name: String, val countryPhoneCode: String, val flag: LbcImageSpec, val isSelected: Boolean, val isoName: String)
Represents a country search item.
Properties
Functions
Link copied to clipboard
fun getAnnotatedName(searchedText: String, nonMatchingSpanStyle: SpanStyle, matchingSpanStyle: SpanStyle): LbcTextSpec.Annotated
Returns an LbcTextSpec.Annotated representation of the country's name, with parts of the name matching the searchedText highlighted using the provided matchingSpanStyle.