Start native apps faster with the Composables CLI ->
Class

TextFieldLineLimits.MultiLine

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.

Source set: Common
public class MultiLine(
        public val minHeightInLines: Int = 1,
        public val maxHeightInLines: Int = Int.MAX_VALUE,
    ) : TextFieldLineLimits

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 ≤ minHeightInLinesmaxHeightInLines.

To specify the minimum and/or maximum height of the field in non-text units, such as dps, use the heightIn modifier.

Functions

toString

Source set: Common
override fun toString(): String

equals

Source set: Common
override fun equals(other: Any?): Boolean

hashCode

Source set: Common
override fun hashCode(): Int