)]}'
{
  "commit": "658951960b60e38cfea7af1eda59582f4e428e3f",
  "tree": "6d638b8d6328fc2e428ce341950f9e21155f7e26",
  "parents": [
    "9a8739d2031ae909595a87767eb1c1028aff3d8c"
  ],
  "author": {
    "name": "LongCatIsLooong",
    "email": "31859944+LongCatIsLooong@users.noreply.github.com",
    "time": "Mon Jul 06 16:40:56 2026 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Jul 06 23:40:56 2026 +0000"
  },
  "message": "Recommend `OverlayPortal.overlayChildLayoutBuilder` over Target-Follower (#188894)\n\nAlso document that these 2 APIs are not compatible.\n\nWith the doc change I would like to discourage the use of\n`CompositedTransformTarget` and `CompositedTransformFollower` since\ntheir competing API `OverlayPortal.overlayChildLayoutBuilder` is\ngenerally more powerful but unfortunately is also incompatible with\n`CompositedTransformTarget` and `CompositedTransformFollower`. Existing\n`CompositedTransformTarget` and `CompositedTransformFollower` usages in\napps may throw when we port framework widgets to the new API.\n\nI thought about introducing a convenience `OverlayPortal` constructor\nthat can be used as drop-in replacement of `CompositedTransformTarget`\nand `CompositedTransformFollower`\nbut it seems to me that always following the `target` without resizing\nor re-positioning is not a common use case: in most cases you\u0027d want to\nadjust the follower to stay in the viewport when the target moves too\nclose to the edge.\n\n## Pre-launch Checklist\n\n- [ ] I read the [Contributor Guide] and followed the process outlined\nthere for submitting PRs.\n- [ ] I read the [AI contribution guidelines] and understand my\nresponsibilities, or I am not using AI tools.\n- [ ] I read the [Tree Hygiene] wiki page, which explains my\nresponsibilities.\n- [ ] I read and followed the [Flutter Style Guide], including [Features\nwe expect every widget to implement].\n- [ ] I signed the [CLA].\n- [ ] I listed at least one issue that this PR fixes in the description\nabove.\n- [ ] I updated/added relevant documentation (doc comments with `///`).\n- [ ] I added new tests to check the change I am making, or this PR is\n[test-exempt].\n- [ ] 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\nIf this change needs to override an active code freeze, provide a\ncomment explaining why. The code freeze workflow can be overridden by\ncode reviewers. See pinned issues for any active code freezes with\nguidance.\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[AI contribution guidelines]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#ai-contribution-guidelines\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",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f244fc0bbcd51bdc22f77cb97b81ede0c6fbdc31",
      "old_mode": 33188,
      "old_path": "packages/flutter/lib/src/rendering/object.dart",
      "new_id": "18a456ea13230339c4c7eab88659819f6beb5eea",
      "new_mode": 33188,
      "new_path": "packages/flutter/lib/src/rendering/object.dart"
    },
    {
      "type": "modify",
      "old_id": "8848b3b4b5f458354fb85715023a064045763b9f",
      "old_mode": 33188,
      "old_path": "packages/flutter/lib/src/widgets/basic.dart",
      "new_id": "6d88d75ead7669bf98c1e8dabc711befb1b0e1db",
      "new_mode": 33188,
      "new_path": "packages/flutter/lib/src/widgets/basic.dart"
    }
  ]
}
