TextWithNotoAnimatedEmoji

fun TextWithNotoAnimatedEmoji(text: String, modifier: Modifier = Modifier, color: Color = Color.Unspecified, fontSize: TextUnit = TextUnit.Unspecified, fontStyle: FontStyle? = null, fontWeight: FontWeight? = null, fontFamily: FontFamily? = null, letterSpacing: TextUnit = TextUnit.Unspecified, textDecoration: TextDecoration? = null, textAlign: TextAlign? = null, lineHeight: TextUnit = TextUnit.Unspecified, overflow: TextOverflow = TextOverflow.Clip, softWrap: Boolean = true, maxLines: Int = Int.MAX_VALUE, minLines: Int = 1, onTextLayout: (TextLayoutResult) -> Unit = {}, style: TextStyle = LocalTextStyle.current, emojiAnimationIterations: Int = Int.MAX_VALUE, emojiAnimationSpeed: Float = 1.0f, fixedEmojiSize: Boolean = false)

Displays a String containing Emoji characters. Replaces all emojis with NotoAnimatedEmoji.

Parameters

iterations

The number of times that the animations will be played (default is infinite).

speed

Speed at which the animations will be rendered.

See also


fun TextWithNotoAnimatedEmoji(text: AnnotatedString, modifier: Modifier = Modifier, color: Color = Color.Unspecified, fontSize: TextUnit = TextUnit.Unspecified, fontStyle: FontStyle? = null, fontWeight: FontWeight? = null, fontFamily: FontFamily? = null, letterSpacing: TextUnit = TextUnit.Unspecified, textDecoration: TextDecoration? = null, textAlign: TextAlign? = null, lineHeight: TextUnit = TextUnit.Unspecified, overflow: TextOverflow = TextOverflow.Clip, softWrap: Boolean = true, maxLines: Int = Int.MAX_VALUE, minLines: Int = 1, inlineContent: Map<String, InlineTextContent> = mapOf(), onTextLayout: (TextLayoutResult) -> Unit = {}, style: TextStyle = LocalTextStyle.current, fixedEmojiSize: Boolean = false, emojiAnimationIterations: Int = Int.MAX_VALUE, emojiAnimationSpeed: Float = 1.0f)

Displays an AnnotatedString containing Emoji characters. Replaces all emojis with NotoAnimatedEmoji.

Parameters

iterations

The number of times that the animations will be played (default is infinite).

speed

Speed at which the animations will be rendered.

See also