rotary With Scroll
fun Modifier.rotaryWithScroll(scrollableState: ScrollableState, focusRequester: FocusRequester = rememberActiveFocusRequester(), flingBehavior: FlingBehavior? = ScrollableDefaults.flingBehavior(), rotaryHaptics: RotaryHapticHandler = rememberRotaryHapticHandler(scrollableState), reverseDirection: Boolean = false): Modifier
A modifier which connects rotary events with scrollable. This modifier supports scroll with fling.
Parameters
scrollable State
Scrollable state which will be scrolled while receiving rotary events
focus Requester
Requests the focus for rotary input. By default comes from rememberActiveFocusRequester, which is used with HierarchicalFocusCoordinator
fling Behavior
Logic describing fling behavior. If null fling will not happen.
rotary Haptics
Class which will handle haptic feedback
reverse Direction
Reverse the direction of scrolling. Should be aligned with Scrollable reverseDirection
parameter