increment

fun increment(step: Int, range: IntRange)(source)

Increments value by step, clamped to range, and writes the result to the text field. When value is null, snaps to range.first without applying the step.

Parameters

step

The amount to add.

range

The range to clamp to.