Picker Style
data class PickerStyle(val visibleItemsCount: Int, val colors: PickerColors, val textStyles: PickerTextStyles, val selectedItemBackgroundShape: Shape, val itemPadding: PaddingValues, val fadingEdgeGradient: Brush, val horizontalAlignment: Alignment.Horizontal, val dividerThickness: Dp, val dividerShape: Shape, val dividerWidth: PickerDividerWidth, val isDividerVisible: Boolean)
Represents visual and layout styling shared by Picker and related components.
Parameters
visible Items Count
The number of items visible at once.
colors
The colors used by the picker.
text Styles
The text styles used by the picker.
selected Item Background Shape
The shape of the selected item background.
item Padding
The padding around each item.
fading Edge Gradient
The gradient used for fading edges.
horizontal Alignment
The horizontal alignment of items.
divider Thickness
The thickness of the selection dividers.
divider Shape
The shape of the selection dividers.
divider Width
The width of the selection dividers.
is Divider Visible
Whether selection dividers are visible.
See also
Constructors
Link copied to clipboard
constructor(visibleItemsCount: Int, colors: PickerColors, textStyles: PickerTextStyles, selectedItemBackgroundShape: Shape, itemPadding: PaddingValues, fadingEdgeGradient: Brush, horizontalAlignment: Alignment.Horizontal, dividerThickness: Dp, dividerShape: Shape, dividerWidth: PickerDividerWidth, isDividerVisible: Boolean)