ScrollAxisRange
Class
Common
class ScrollAxisRange(
val value: () -> Float,
val maxValue: () -> Float,
val reverseScrolling: Boolean = false,
)
The scroll state of one axis if this node is scrollable.
Parameters
value | current 0-based scroll position value (either in pixels, or lazy-item count) |
maxValue | maximum bound for value , or Float.POSITIVE_INFINITY if still unknown |
reverseScrolling | for horizontal scroll, when this is true , 0 value will mean right, whenfalse , 0 value will mean left. For vertical scroll, when this is true , 0 value will mean bottom, when false , 0 value will mean top |