Package-level declarations

Functions

Link copied to clipboard
fun ReadMoreText(text: AnnotatedString, expanded: Boolean, modifier: Modifier = Modifier, onExpandedChange: (Boolean) -> Unit? = null, contentPadding: PaddingValues = PaddingValues(0.dp), 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 = TextAlign.Unspecified, lineHeight: TextUnit = TextUnit.Unspecified, softWrap: Boolean = true, onTextLayout: (TextLayoutResult) -> Unit = {}, style: TextStyle = LocalTextStyle.current, readMoreText: String = "", readMoreColor: Color = Color.Unspecified, readMoreFontSize: TextUnit = TextUnit.Unspecified, readMoreFontStyle: FontStyle? = null, readMoreFontWeight: FontWeight? = null, readMoreFontFamily: FontFamily? = null, readMoreTextDecoration: TextDecoration? = null, readMoreMaxLines: Int = 2, readMoreOverflow: ReadMoreTextOverflow = ReadMoreTextOverflow.Ellipsis, readMoreStyle: SpanStyle = style.toSpanStyle(), readLessText: String = "", readLessColor: Color = readMoreColor, readLessFontSize: TextUnit = readMoreFontSize, readLessFontStyle: FontStyle? = readMoreFontStyle, readLessFontWeight: FontWeight? = readMoreFontWeight, readLessFontFamily: FontFamily? = readMoreFontFamily, readLessTextDecoration: TextDecoration? = readMoreTextDecoration, readLessStyle: SpanStyle = readMoreStyle, toggleArea: ToggleArea = ToggleArea.All)
fun ReadMoreText(text: String, expanded: Boolean, modifier: Modifier = Modifier, onExpandedChange: (Boolean) -> Unit? = null, contentPadding: PaddingValues = PaddingValues(0.dp), 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 = TextAlign.Unspecified, lineHeight: TextUnit = TextUnit.Unspecified, softWrap: Boolean = true, onTextLayout: (TextLayoutResult) -> Unit = {}, style: TextStyle = LocalTextStyle.current, readMoreText: String = "", readMoreColor: Color = Color.Unspecified, readMoreFontSize: TextUnit = TextUnit.Unspecified, readMoreFontStyle: FontStyle? = null, readMoreFontWeight: FontWeight? = null, readMoreFontFamily: FontFamily? = null, readMoreTextDecoration: TextDecoration? = null, readMoreMaxLines: Int = 2, readMoreOverflow: ReadMoreTextOverflow = ReadMoreTextOverflow.Ellipsis, readMoreStyle: SpanStyle = style.toSpanStyle(), readLessText: String = "", readLessColor: Color = readMoreColor, readLessFontSize: TextUnit = readMoreFontSize, readLessFontStyle: FontStyle? = readMoreFontStyle, readLessFontWeight: FontWeight? = readMoreFontWeight, readLessFontFamily: FontFamily? = readMoreFontFamily, readLessTextDecoration: TextDecoration? = readMoreTextDecoration, readLessStyle: SpanStyle = readMoreStyle, toggleArea: ToggleArea = ToggleArea.All)

High level element that displays text with read more.