Country Picker Shapes
data class CountryPickerShapes(val sheet: Shape = RoundedCornerShape(topStart = 32.dp, topEnd = 32.dp), val dialog: Shape = RoundedCornerShape(32.dp), val field: Shape = RoundedCornerShape(16.dp), val searchField: Shape = RoundedCornerShape(14.dp), val groupCornerRadius: Dp = 20.dp, val row: Shape = RoundedCornerShape(14.dp), val chip: Shape = CircleShape, val flagTile: Shape = RoundedCornerShape(percent = 28), val flagRounded: Shape = RoundedCornerShape(percent = 22), val badge: Shape = RoundedCornerShape(6.dp), val button: Shape = RoundedCornerShape(14.dp), val tile: Shape = RoundedCornerShape(18.dp), val floatingBar: Shape = RoundedCornerShape(22.dp), val pill: Shape = CircleShape)(source)
Corner shapes for every surface the picker draws.
Every clickable surface clips its press feedback to the shape declared here, so a shape that does not match its container shows up immediately as a highlight bleeding past a corner.
Constructors
Link copied to clipboard
constructor(sheet: Shape = RoundedCornerShape(topStart = 32.dp, topEnd = 32.dp), dialog: Shape = RoundedCornerShape(32.dp), field: Shape = RoundedCornerShape(16.dp), searchField: Shape = RoundedCornerShape(14.dp), groupCornerRadius: Dp = 20.dp, row: Shape = RoundedCornerShape(14.dp), chip: Shape = CircleShape, flagTile: Shape = RoundedCornerShape(percent = 28), flagRounded: Shape = RoundedCornerShape(percent = 22), badge: Shape = RoundedCornerShape(6.dp), button: Shape = RoundedCornerShape(14.dp), tile: Shape = RoundedCornerShape(18.dp), floatingBar: Shape = RoundedCornerShape(22.dp), pill: Shape = CircleShape)
Properties
Link copied to clipboard
The rounded crop of CountryFlagStyle.Rounded.
Link copied to clipboard
The rounded tile behind a flag in CountryFlagStyle.Tile.
Link copied to clipboard
The multi-select confirmation bar.
Link copied to clipboard
Corner radius of a grouped (inset) list section. A radius rather than a Shape because the list is drawn row by row, and each row needs the top, bottom or no corners of it depending on its position in the group.
Link copied to clipboard
The search field.