multiline()
Enables multi-line input.
multiline(multiline?: boolean, height?: string | number): this;
Notes
- Multi-line fields have no default height; provide one using the
heightparameter or a predefined style.
Parameters
- multiline — True to enable multi-line input; defaults to true.
- height — The height of the text field in pixels, or as a string with unit.
Return value
The builder instance for chaining.
Related
class TextFieldBuilder static
A builder class for creating UITextField instances.
