fun Stepper(value: Int, modifier: Modifier = Modifier, step: Int = 1, onValueChange: (Int) -> Unit, onEditingChanged: (Boolean) -> Unit =Overview
Stepper(value = 0, onValueChange = { value -> })This is the Kotlin form of SwiftUI Stepper.init(value:step:onEditingChanged:label:): SwiftUI documentation. In Swift it reads:
nonisolated init<V>(value: Binding<V>, step: V.Stride = 1, onEditingChanged: @escaping (Bool) -> Void = { _ in }, @ContentBuilder label: () -> Label) where V : StrideableTopics
Creating a Stepper
fun Stepper(value: Int, bounds: IntRange, modifier: Modifier = Modifier, step: Int = 1, onValueChange: (Int) -> Unit, onEditingChanged: (Boolean) -> Unit =
fun Stepper(value: Int, modifier: Modifier = Modifier, step: Int = 1, onValueChange: (Int) -> Unit, onEditingChanged: (Boolean) -> Unit =
fun Stepper(title: String, value: Int, bounds: IntRange, modifier: Modifier = Modifier, step: Int = 1, onValueChange: (Int) -> Unit, onEditingChanged: (Boolean) -> Unit =
fun Stepper(title: String, value: Int, modifier: Modifier = Modifier, step: Int = 1, onValueChange: (Int) -> Unit, onEditingChanged: (Boolean) -> Unit =
fun Stepper(titleResource: LocalizedKey, value: Int, bounds: IntRange, modifier: Modifier = Modifier, step: Int = 1, onValueChange: (Int) -> Unit, onEditingChanged: (Boolean) -> Unit =
fun Stepper(titleResource: LocalizedKey, value: Int, modifier: Modifier = Modifier, step: Int = 1, onValueChange: (Int) -> Unit, onEditingChanged: (Boolean) -> Unit =
fun Stepper(value: Int? = null, bounds: IntRange? = null, step: Int? = null, titleKey: LocalizedKey? = null, modifier: Modifier = Modifier, onValueChange: ((Int) -> Unit)? = null, onEditingChanged: ((Boolean) -> Unit)? = null, content: (@Composable () -> Unit)? = null)
Methods
fun StepperValue(value: Int, bounds: IntRange, modifier: Modifier = Modifier, step: Int = 1, onValueChange: (Int) -> Unit, onEditingChanged: (Boolean) -> Unit =
fun StepperValue(value: Int, modifier: Modifier = Modifier, step: Int = 1, onValueChange: (Int) -> Unit, onEditingChanged: (Boolean) -> Unit =
fun StepperValue(titleKey: LocalizedKey, value: Int, bounds: IntRange, modifier: Modifier = Modifier, step: Int = 1, onValueChange: (Int) -> Unit, onEditingChanged: (Boolean) -> Unit =
fun StepperValue(titleKey: LocalizedKey, value: Int, modifier: Modifier = Modifier, step: Int = 1, onValueChange: (Int) -> Unit, onEditingChanged: (Boolean) -> Unit =