Skip to content

Buttons on iOS do not use squircle paths #13914

Closed

Description

@eseidelGoogle

@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.

Activity

  1. added this to the milestone on Jan 5, 2018
  2. added
    c: new featureNothing broken; request for a new capability
    engineflutter/engine related. See also e: labels.
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Jan 5, 2018
  3. Hixie commented on Jan 5, 2018

    @Hixie
    Contributor

    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.

  4. Salby commented on Jan 2, 2019

    @Salby
    Contributor

    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.

  5. added
    p: cupertino_uicupertino_ui package in flutter/packages
    a: fidelityMatching the OEM platforms better
    platform-iosiOS applications specifically
    and removed
    engineflutter/engine related. See also e: labels.
    c: new featureNothing broken; request for a new capability
    on Jan 10, 2019
  6. 50 remaining items

  7. added
    P2Important issues not at the top of the work list
    on Jan 25, 2024
  8. self-assigned this
    on Feb 5, 2025
  9. github-actions commented on Jun 9, 2025

    @github-actions

    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.

  10. locked as resolved and limited conversation to collaborators on Jun 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: fidelityMatching the OEM platforms betterframeworkflutter/packages/flutter repository. See also f: labels.p: cupertino_uicupertino_ui package in flutter/packagesplatform-iosiOS applications specificallyteam-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions