Update docs for editable_text (TextField) (#26269)
* update docs for editable_text (TextField) * typo, clarify behavior when lines > 1
This commit is contained in:
parent
bc28a220c9
commit
75ebce1c0c
@ -346,8 +346,13 @@ class EditableText extends StatefulWidget {
|
|||||||
/// If this is 1 (the default), the text will not wrap, but will scroll
|
/// If this is 1 (the default), the text will not wrap, but will scroll
|
||||||
/// horizontally instead.
|
/// horizontally instead.
|
||||||
///
|
///
|
||||||
/// If this is null, there is no limit to the number of lines. If it is not
|
/// If this is null, there is no limit to the number of lines, and the text
|
||||||
/// null, the value must be greater than zero.
|
/// container will start with enough vertical space for one line and
|
||||||
|
/// automatically grow to accomodate additional lines as they are entered.
|
||||||
|
///
|
||||||
|
/// If it is not null, the value must be greater than zero. If it is greater
|
||||||
|
/// than 1, it will take up enough horizontal space to accomodate that number
|
||||||
|
/// of lines.
|
||||||
/// {@endtemplate}
|
/// {@endtemplate}
|
||||||
final int maxLines;
|
final int maxLines;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user