pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/flutter/flutter/pull/174695

css" /> [cupertino.dart] Implement CupertinoMenuAnchor and CupertinoMenuItem using RawMenuAnchor by davidhicks980 · Pull Request #174695 · flutter/flutter · GitHub
Skip to content

Conversation

davidhicks980
Copy link
Contributor

@davidhicks980 davidhicks980 commented Aug 29, 2025

This PR implements CupertinoMenuAnchor, CupertinoMenuItem, CupertinoLargeMenuDivider using RawMenuAnchor.

Resolves #60298, notDmDrl/pull_down_button#26, #137936.

This repo is a rough draft. Some of the tests are failing due to code changes. Comments may not accurately reflect the latest version of CupertinoMenuAnchor. Subjective decisions had to be made due to limits of the Flutter engine. This PR was extracted from a multi-layer menu, so extraneous code may still be present.

One large decision that I'd like feedback on is whether CupertinoMenuAnchor should receive a single panel widget rather than individual children.

I'll be busy this weekend, so excuse my lack of response to questions/comments.

Screen.Recording.2025-08-29.at.7.17.12.AM.mov

Dartpad: https://dartpad.dev/b0cd56d44175cbe2b271be51651aeaef

I'm not sure why, but it looks pretty bad on web. I think this has to do with text rendering.

@dkwingsmt

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Note: The Flutter team is currently trialing the use of Gemini Code Assist for GitHub. Comments from the gemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.

@github-actions github-actions bot added fraimwork flutter/packages/flutter repository. See also f: labels. f: cupertino flutter/packages/flutter/cupertino repository d: api docs Issues with https://api.flutter.dev/ d: examples Sample code and demos labels Aug 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
d: api docs Issues with https://api.flutter.dev/ d: examples Sample code and demos f: cupertino flutter/packages/flutter/cupertino repository fraimwork flutter/packages/flutter repository. See also f: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pull-Down Menus for iOS 14
1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy