Skip to content

Implement RoundedSuperellipseInputBorder #176987

Description

@martin-braun

Use case

I want to use the squircle corners of iOS for my input fields. There is the RoundedSuperellipseBorder to do exactly that, but a TextField works only with InputBorders that extend from ShapeBorder, which makes those classes sibling classes of OutlinedBorder which RoundedSuperellipseBorder extends from.

Proposal

I believe there should be a RoundedSuperellipseInputBorder that fills the gap. On iOS native text fields use the same corner math, see the search bar in the contacts app, so this is necessary when aiming for platform respective UI.

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: 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 Flutterframeworkflutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer versionteam-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework teamwaiting for PR to land (fixed)A fix is in flight

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions