PickerStyle

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

visibleItemsCount

The number of items visible at once.

colors

The colors used by the picker.

textStyles

The text styles used by the picker.

selectedItemBackgroundShape

The shape of the selected item background.

itemPadding

The padding around each item.

fadingEdgeGradient

The gradient used for fading edges.

horizontalAlignment

The horizontal alignment of items.

dividerThickness

The thickness of the selection dividers.

dividerShape

The shape of the selection dividers.

dividerWidth

The width of the selection dividers.

isDividerVisible

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)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard