Skip to content

[Proposal][Android] Add ability to get device RoundedCorner #97349

Description

@mark8044

Known Packages


It looks like Android 12 has introduced some nice features which allow developers to get the corner radius of a device. This is a potential game changer for designs at the edge of the screen.

Any chance this can be implemented in Flutter?

https://developer.android.com/reference/android/view/RoundedCorner
https://developer.android.com/reference/android/view/WindowInsets?hl=en#getRoundedCorner(int)

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: fidelityMatching the OEM platforms betteravailable on pubA package on pub.dev can do this.c: new featureNothing broken; request for a new capabilityengineflutter/engine related. See also e: labels.frameworkflutter/packages/flutter repository. See also f: labels.platform-androidAndroid applications specificallyr: solvedIssue is closed as solvedteam-androidOwned by Android platform teamtriaged-androidTriaged by Android platform team

Type

No type
No fields configured for issues without a type.

Projects

Status
Done (PR merged)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions