Country Picker Typography
data class CountryPickerTypography(val title: TextStyle, val subtitle: TextStyle, val sectionLabel: TextStyle, val countryName: TextStyle, val countryNameSelected: TextStyle, val caption: TextStyle, val dialCode: TextStyle, val fieldLabel: TextStyle, val fieldValue: TextStyle, val phoneNumber: TextStyle, val helper: TextStyle, val button: TextStyle, val chip: TextStyle, val badge: TextStyle, val search: TextStyle, val tileLabel: TextStyle, val indexLetter: TextStyle, val indexBubble: TextStyle, val emptyTitle: TextStyle, val emptyBody: TextStyle)(source)
Text styles for every piece of text the picker draws.
Numbers — dial codes, phone numbers, counts — use tabular figures (tnum), so digits share one width: a column of dial codes lines up, and a phone number does not jitter as it is typed and regrouped.
Constructors
Link copied to clipboard
constructor(title: TextStyle, subtitle: TextStyle, sectionLabel: TextStyle, countryName: TextStyle, countryNameSelected: TextStyle, caption: TextStyle, dialCode: TextStyle, fieldLabel: TextStyle, fieldValue: TextStyle, phoneNumber: TextStyle, helper: TextStyle, button: TextStyle, chip: TextStyle, badge: TextStyle, search: TextStyle, tileLabel: TextStyle, indexLetter: TextStyle, indexBubble: TextStyle, emptyTitle: TextStyle, emptyBody: TextStyle)
Properties
Link copied to clipboard
A country name in a row.
Link copied to clipboard
A selected country's name.
Link copied to clipboard
Empty, error and offline state titles.
Link copied to clipboard
The label above a field's value.
Link copied to clipboard
A field's value.
Link copied to clipboard
The large letter in the scrubbing bubble.
Link copied to clipboard
Letters on the A–Z rail.
Link copied to clipboard
The number in the phone field.
Link copied to clipboard
Section headers ("SUGGESTED", "ALL COUNTRIES"), drawn in capitals.