You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Proposal][Android] Add ability to get device RoundedCorner #97349
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.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
[-]RoundedCorner and getRoundedCorner[/-][+][Proposal][Android] Add ability to get device RoundedCorner[/+]HansMuller commentedon Jan 28, 2022
CC @Piinks
zanderso commentedon May 18, 2022
@goderbauer Can you clarify that the feature request for the Engine here is to plumb additional data through something like
MediaQuery?FYI @blasten @GaryQian @cyanglaz @jmagman
goderbauer commentedon May 18, 2022
Yes.
cyanglaz commentedon May 18, 2022
Unfortunately, there doesn't seem to be such an API at the moment for iOS :(
GaryQian commentedon May 18, 2022
We could add support for it and just provide null when on an os or platform that doesn't provide corner radius.
cyanglaz commentedon May 18, 2022
One thing we can do is to return a hard coded value based on the current device. Not sure if that's what we want to do.
38 remaining items
justinmc commentedon Nov 14, 2025
Moving this up in priority now that predictive back is on by default (see #178463).
If anyone wants to open a PR for this I would be happy to help review! Maybe @ivangalkindeveloper? Here's what I think we should do:
[Android] Add display corner radii support. (#179219)
Maistho commentedon Jan 22, 2026
Should this be reopened since the linked PR only added Android support?
github-actions commentedon Feb 5, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.[Android] Add display corner radii support. (flutter#179219)
[Android] Add display corner radii support. (#179219)