AnimatedPlayPauseButtonContent

fun AnimatedPlayPauseButtonContent(playing: Boolean, modifier: Modifier = Modifier, iconSize: Dp = IconButtonDefaults.LargeIconSize)

Default content for the play and pause button that animates between a play and pause icon.

Parameters

playing

Whether the button should be in the play or pause state.

modifier

The Modifier to apply to the button content.

iconSize

The size of the icon.