Skip to content

[Proposal] Expose padding for multi-line TextField #101985

@domesticmouse

Description

@domesticmouse

Use case

I have a Flutter desktop app with a full bleed TextField with infinite maxLine contraint. The text comes too close to the edges of the window, and I'd like to pad the content.

I can pad the TextField on the left and right with a Padding widget, but I can't pad the top and bottom without creating an unsightly top and bottom gap during text scroll.

Proposal

Please expose something akin to BoxScrollView's padding property to multi-line TextField.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecta: text inputEntering text in a text field or keyboard related problemsc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.team-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions