QuantityPicker
fun QuantityPicker( modifier: Modifier = Modifier, state: QuantityPickerState, informativeText: String? = null, informativeTextStyle: TextStyle = TextStyle.Default, decrementButtonAppearance: QuantityButtonAppearance = quantityButtonAppearance(
icon = Icons.Default.Remove
), quantityIndicatorStyle: TextStyle = TextStyle.Default, incrementButtonAppearance: QuantityButtonAppearance = quantityButtonAppearance(
icon = Icons.Default.Add
))
Component used to pick a numerical quantity value
Since
1.1.0
Parameters
modifier
The modifier to apply to the component
state
The state of the component
informativeText
The informative text which describes what type of quantity is picked
informativeTextStyle
The style to apply to the informativeText
decrementButtonAppearance
The appearance for the DecrementButton component
quantityIndicatorStyle
The style to apply to the indicator text of the current quantity picked
incrementButtonAppearance
The appearance for the IncrementButton component