Kwik Expandable Text
fun KwikExpandableText(modifier: Modifier = Modifier, text: String, maxLines: Int = 4, color: Color = MaterialTheme.colorScheme.onSurface, style: TextStyle = MaterialTheme.typography.bodyLarge, readMoreText: String = "Read More", showLessText: String = "Show Less")
Text view that can be expanded or collapsed. Initially shows the text with a cutoff of maxLines
lines.
Parameters
modifier
The modifier to be applied to the text view.
text
The text to be displayed.
max Lines
The maximum number of lines to show initially.