rememberSegmentMotion

fun rememberSegmentMotion(style: SegmentMotionStyle = LocalSegmentMotionStyle.current, motionContext: MotionContext = rememberMotionContext(label = "Segment")): Motion<SegmentMotionStyle>

Запоминает Motion для Segment без анимации по умолчанию.

Parameters

style

стиль переходов, по умолчанию из LocalSegmentMotionStyle.

motionContext

общий контекст взаимодействий и семантических состояний.