With Noto Animated Emoji
fun WithNotoAnimatedEmoji(text: CharSequence, iterations: Int = Int.MAX_VALUE, speed: Float = 1.0f, placeholder: @Composable (Emoji) -> Unit = { PlatformEmojiPlaceholder(it, Modifier.fillMaxSize()) }, content: @Composable (AnnotatedString, Map<String, InlineTextContent>) -> Unit)
Creates an annotated String and a InlineTextContent map from a text containing Emoji characters. Replaces all emojis with NotoAnimatedEmoji.
Parameters
text
The text to with Emoji UTF characters.
iterations
The number of times that the animations will be played (default is infinite).
speed
Speed at which the animations will be rendered.
content
A lambda that receives the AnnotatedString and its corresponding InlineTextContent map These should be used to display: { astr, map -> Text(astr, inlineContent = map) }.
fun WithNotoAnimatedEmoji(text: CharSequence, iterations: Int = Int.MAX_VALUE, speed: Float = 1.0f, fixedSize: Boolean, content: @Composable (AnnotatedString, Map<String, InlineTextContent>) -> Unit)
Deprecated
fixedSize is now ignored (size ratio is now part of emoji details)