Seek Button
fun SeekButton(modifier: Modifier = Modifier, seekOffset: Int = 10, iconSize: Dp = 24.dp, contentPadding: PaddingValues = PaddingValues(0.dp))
A button that seeks forward or backward by a fixed offset.
This draws a seek forward or backward icon inside the button, with the seek offset centered within the icon. If you want to use a different icon, use the other overload that accepts custom content
.
Parameters
modifier
the Modifier to be applied to this button
seek Offset
the offset (in seconds) by which to seek forward (if positive) or backward (if negative)
icon Size
the size of the icon
content Padding
the spacing values to apply internally between the container and the content
fun SeekButton(modifier: Modifier = Modifier, seekOffset: Int = 10, contentPadding: PaddingValues = PaddingValues(0.dp), content: @Composable () -> Unit)
A button that seeks forward or backward by a fixed offset.
Parameters
modifier
the Modifier to be applied to this button
seek Offset
the offset (in seconds) by which to seek forward (if positive) or backward (if negative)
content Padding
the spacing values to apply internally between the container and the content