Skip to content

TextField-> maxLines should be backed with minLines #20957

@D4G4

Description

@D4G4

The maxLines attribute simply provides with maximum lines pre-generated by the framework, thus increasing the size of TextField.
There should also be an option of minLines where maxLines will act as the maximum lines to which the TextField can EXPAND and then enables the scrolling.
There is no restriction to maxLines either

Or
TextInputType.multiline should set the default maxLines to 1 and then maximum lines can grow till the size defined in the attribute.

third

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: text inputEntering text in a text field or keyboard related problemsc: new featureNothing broken; request for a new capabilityframeworkflutter/packages/flutter repository. See also f: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions