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
@abarth brings this up from time to time (I think mostly jokingly). That CupertinoButton shouldn't actually be a rounded rect, but rather a squircle to match UIKit-based apps.
We should definitely have a SquircleShape. Or maybe a SuperEllipseShape, where you can set a, b, and n independently. (Wikipedia claims iOS actually uses an n=5 superellipse for its icons, not an n=4 squircle.)
In any case, presumably this will require a new set of APIs on Path to draw superellipses.
Reacted by Luke Pighetti, Magnús Örn Gylfason and Sander Larsen
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
Hixie commentedon Jan 5, 2018
We should definitely have a SquircleShape. Or maybe a SuperEllipseShape, where you can set a, b, and n independently. (Wikipedia claims iOS actually uses an n=5 superellipse for its icons, not an n=4 squircle.)
In any case, presumably this will require a new set of APIs on Path to draw superellipses.
Salby commentedon Jan 2, 2019
I've been working on a superellipse shape for flutter, and would like to know if you'd be interested in a PR.
It's in this repo if you want to check it out.
Added the superellipse (a.k.a. squircle) shape to flutter. (#26295)
50 remaining items
[Impeller] Add rounded superellipse (#56726)
[Impeller] Add rounded superellipse (flutter-team-archive/engine#56726)
[Engine] Add RoundSuperellipse to drawing OP (#160883)
[Cupertino] Apply RSuperellipse to most Cupertino widgets (#167784)
github-actions commentedon Jun 9, 2025
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.[Cupertino] Apply RSuperellipse to most Cupertino widgets (#167784)
[Cupertino] Apply RSuperellipse to most Cupertino widgets (#167784)