)]}'
{
  "commit": "7dffce3bfdcae8e10751c5b9625b3bcc5057a52b",
  "tree": "c559bbdcd40f23291684ecfc7b3af16d73b90f7a",
  "parents": [
    "20343a16cb643658fac8ae3671ae1f1da20ea59a"
  ],
  "author": {
    "name": "Patrick Billingsley",
    "email": "prbillingsley89@gmail.com",
    "time": "Wed Feb 25 14:59:59 2026 -0600"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Feb 25 20:59:59 2026 +0000"
  },
  "message": "Updates MenuAnchor to respect software keyboard (#180975)\n\n\u003c!--\nThanks for filing a pull request!\nReviewers are typically assigned within a week of filing a request.\nTo learn more about code review, see our documentation on Tree Hygiene:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md\n--\u003e\n\nThis pull request addresses the issue of MenuAnchor widgets being\nobscured by the software keyboard. It updates the Overlay to respect\nMediaQuery constraints that are otherwise stripped by Scaffold widgets.\n\nFixes https://github.com/flutter/flutter/issues/142921\nFixes https://github.com/flutter/flutter/issues/171066\n\n\u003cdetails open\u003e\n\u003csummary\u003eProblem\u003c/summary\u003e\n\n\nhttps://github.com/user-attachments/assets/b7429479-bba6-4c93-9ab7-804addf070c4\n\n\u003c/details\u003e\n\n\u003cdetails open\u003e\n\u003csummary\u003eFix\u003c/summary\u003e\n\n\nhttps://github.com/user-attachments/assets/732bb071-e368-4c6a-89ba-ba4183ea601a\n\n\u003c/details\u003e\n\n## Example Application\n```dart\nimport \u0027package:flutter/material.dart\u0027;\n\nvoid main() {\n  runApp(const MainApp());\n}\n\nclass MainApp extends StatefulWidget {\n  const MainApp({super.key});\n\n  @override\n  State\u003cMainApp\u003e createState() \u003d\u003e _MainAppState();\n}\n\nclass _MainAppState extends State\u003cMainApp\u003e {\n  final MenuController _controller \u003d MenuController();\n\n  final List\u003cString\u003e words \u003d [\u0027This\u0027, \u0027is\u0027, \u0027a\u0027, \u0027test\u0027, \u0027This\u0027, \u0027is\u0027, \u0027a\u0027, \u0027test\u0027];\n\n  void _toggleMenu() {\n    if (_controller.isOpen) {\n      _controller.close();\n    } else {\n      _controller.open();\n    }\n  }\n\n  @override\n  Widget build(BuildContext context) {\n    return MaterialApp(\n      home: Scaffold(\n        body: Column(\n          children: [\n            Spacer(),\n            TextField(),\n            Spacer(),\n            MenuAnchor(\n              controller: _controller,\n              menuChildren: List.generate(words.length, (index) {\n                return Padding(\n                  padding: const EdgeInsets.all(8.0),\n                  child: Text(words[index]),\n                );\n              }),\n              child: FilledButton(\n                onPressed: _toggleMenu,\n                child: Text(\u0027Tap me!\u0027),\n              ),\n            ),\n            Spacer(),\n          ],\n        ),\n      ),\n    );\n  }\n}\n\n``` \n\n*If you had to change anything in the [flutter/tests] repo, include a\nlink to the migration guide as per the [breaking change policy].*\n\n## Pre-launch Checklist\n\n- [x] I read the [Contributor Guide] and followed the process outlined\nthere for submitting PRs.\n- [x] I read the [Tree Hygiene] wiki page, which explains my\nresponsibilities.\n- [x] I read and followed the [Flutter Style Guide], including [Features\nwe expect every widget to implement].\n- [x] I signed the [CLA].\n- [x] I listed at least one issue that this PR fixes in the description\nabove.\n- [x] I updated/added relevant documentation (doc comments with `///`).\n- [x] I added new tests to check the change I am making, or this PR is\n[test-exempt].\n- [x] I followed the [breaking change policy] and added [Data Driven\nFixes] where supported.\n- [ ] All existing and new tests are passing.\n\nIf you need help, consider asking for advice on the #hackers-new channel\non [Discord].\n\n**Note**: The Flutter team is currently trialing the use of [Gemini Code\nAssist for\nGitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code).\nComments from the `gemini-code-assist` bot should not be taken as\nauthoritative feedback from the Flutter team. If you find its comments\nuseful you can update your code accordingly, but if you are unsure or\ndisagree with the feedback, please feel free to wait for a Flutter team\nmember\u0027s review for guidance on which automated comments should be\naddressed.\n\n\u003c!-- Links --\u003e\n[Contributor Guide]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview\n[Tree Hygiene]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md\n[test-exempt]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests\n[Flutter Style Guide]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md\n[Features we expect every widget to implement]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement\n[CLA]: https://cla.developers.google.com/\n[flutter/tests]: https://github.com/flutter/tests\n[breaking change policy]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes\n[Discord]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md\n[Data Driven Fixes]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md\n\n---------\n\nCo-authored-by: flutter-pub-roller-bot \u003c137456488+flutter-pub-roller-bot@users.noreply.github.com\u003e\nCo-authored-by: b-luk \u003c97480502+b-luk@users.noreply.github.com\u003e\nCo-authored-by: engine-flutter-autoroll \u003cengine-flutter-autoroll@skia.org\u003e\nCo-authored-by: walley892 \u003cevanwall@buffalo.edu\u003e\nCo-authored-by: Ben Konyi \u003cbkonyi@google.com\u003e\nCo-authored-by: David Iglesias \u003cditman@gmail.com\u003e\nCo-authored-by: Victor Sanni \u003cvictorsanniay@gmail.com\u003e\nCo-authored-by: Tong Mu \u003cdkwingsmt@users.noreply.github.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "89e904a7d2a5f1d2bd55f3ee606b309bd06bd0bd",
      "old_mode": 33188,
      "old_path": "AUTHORS",
      "new_id": "1f530939a14ad97ddf2b4febc40bf2de0cacd130",
      "new_mode": 33188,
      "new_path": "AUTHORS"
    },
    {
      "type": "modify",
      "old_id": "8f15b29743d31daa06e5104645a906559e8a0589",
      "old_mode": 33188,
      "old_path": "packages/flutter/lib/src/material/menu_anchor.dart",
      "new_id": "db91019ae0412a1966fd4a818c7ab339824144e8",
      "new_mode": 33188,
      "new_path": "packages/flutter/lib/src/material/menu_anchor.dart"
    },
    {
      "type": "modify",
      "old_id": "2ed71edbac7d6793005751c559ddbe3608e6451f",
      "old_mode": 33188,
      "old_path": "packages/flutter/test/material/menu_anchor_test.dart",
      "new_id": "20c3a7b27ca1e3e1339e8adc4d494c2cf2fcf9b7",
      "new_mode": 33188,
      "new_path": "packages/flutter/test/material/menu_anchor_test.dart"
    }
  ]
}
