androidx.compose.foundation.text.input
MultiLine
Class · from org.jetbrains.compose.foundation:foundation:1.12.2
No hand-written docs yet.
The text field will be at least minHeightInLines tall, if the text overflows it will wrap, and if the text ends up being more than one line the field will grow until it is maxHeightInLines tall and then start scrolling vertically.
class MultiLine(
minHeightInLines: Int = 1,
maxHeightInLines: Int = Int.MAX_VALUE,
) : TextFieldLineLimits
Is a
How to get one
Create it
MultiLine(minHeightInLines, maxHeightInLines)constructor
Properties
minHeightInLines
val minHeightInLines: Int
maxHeightInLines
val maxHeightInLines: Int
Library docs
The text field will be at least minHeightInLines tall, if the text overflows it will wrap,
and if the text ends up being more than one line the field will grow until it is
maxHeightInLines tall and then start scrolling vertically.
It is required that 1 ≤ minHeightInLines ≤ maxHeightInLines.
To specify the minimum and/or maximum height of the field in non-text units, such as dps, use
the heightIn modifier.