TextTabular

fun TextTabular(text: String, modifier: Modifier = Modifier, color: Color = LocalContentColor.current, fontSize: TextUnit = TextUnit.Unspecified, fontStyle: FontStyle? = null, fontWeight: FontWeight? = null, fontFamily: FontFamily? = null, charWidth: Dp? = null, animationSpec: AnimationSpec<Float>? = TextTabularDefaults.animationSpec())

A text component that renders each character in an equal-width slot, with built-in animations for character changes.

Parameters

charWidth

the width of each character slot. If not specified, it is automatically calculated.

animationSpec

AnimationSpec used for the character change animations. Pass null to disable animations.