Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Simplified version of [Text] component with minimal set of customizations.
- *
- * @param text The text to display.
- * @param style The text style for the text.
- */
- @Composable
- fun Text(
- text: String,
- style: TextStyle? = null,
- paragraphStyle: ParagraphStyle? = null,
- softWrap: Boolean = DefaultSoftWrap,
- overflow: TextOverflow = DefaultOverflow,
- textScaleFactor: Float = 1.0f,
- maxLines: Int? = DefaultMaxLines,
- selectionColor: Color = DefaultSelectionColor
- ) {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement