Created
November 1, 2022 22:27
-
-
Save victorbrndls/78c706045f715ac7df90ded7bf996ecd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val createText = @Composable { localModifier: Modifier -> | |
Text( | |
text = text, | |
textAlign = textAlign, | |
modifier = localModifier, | |
color = color, | |
fontSize = fontSize, | |
fontStyle = fontStyle, | |
fontWeight = fontWeight, | |
fontFamily = fontFamily, | |
letterSpacing = letterSpacing, | |
textDecoration = textDecoration, | |
lineHeight = linHeight, | |
overflow = overflow, | |
softWrap = softWrap, | |
maxLines = 1, | |
onTextLayout = onTextLayout, | |
style = style | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment