MarqueeTextMediaDisplay
fun MarqueeTextMediaDisplay(modifier: Modifier = Modifier, title: String? = null, artist: String? = null, titleIcon: Paintable? = null, enterTransitionDelay: Int = 60, subtextTransitionDelay: Int = 30, @FloatRange(from = 0.0, to = 1.0) transitionLength: Float = 0.125f, colorScheme: ColorScheme = MaterialTheme.colorScheme)
An animated text only display showing scrolling title and still artist in two separated rows.
Parameters
modifier
Modifier for the component.
title
The title to display.
artist
The artist to display.
titleIcon
The icon to display next to the title.
enterTransitionDelay
The delay before the title starts to animate.
subtextTransitionDelay
The delay before the artist starts to animate.
transitionLength
The fraction of the screen width to slide in and out.
colorScheme
The color scheme to use.