rotateBy

Function

Common
suspend fun TransformableState.rotateBy(degrees: Float) = transform {
    transformBy(1f, Offset.Zero, degrees)
}

Rotate without animation by a degrees degrees and suspend until it's set.

Parameters

degreesdegrees by which to rotate