)]}'
{
  "commit": "7a7912faa4ddfa1a3f0a2106e48f3a20a2521001",
  "tree": "6c2b0a9d93863be642db65d0e9d209ebf28024a3",
  "parents": [
    "2e33644f59437f0c3e06984d699ae2e70a8337d5"
  ],
  "author": {
    "name": "Elliott Brooks",
    "email": "21270878+elliette@users.noreply.github.com",
    "time": "Tue Sep 01 16:46:14 2026"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Sep 01 16:46:14 2026"
  },
  "message": "[material_ui] Migrate AppBar M3 template to use new gen_defaults script (#12707)\n\nWork towards https://github.com/flutter/flutter/issues/191088\r\n\r\n**Ports over https://github.com/flutter/packages/pull/12122 which landed on the `m3e_migration` feature branch.**\r\n\r\n### Original PR description\r\n\r\nFixes https://github.com/flutter/flutter/issues/188397\r\n\r\nInitially gen_defaults script and its templates were used to handle JSON tokens. After we fix the token pipeline and make it possible to get M3E tokens, we use Dart constants and re-created the gen_defaults in material_ui. After decoupling, the old gen_defaults will be deprecated soon.\r\n\r\nThis PR is to:\r\n\r\ncreate a template for M3 AppBar so we can use new script to generate M3 defaults.\r\nmove the generated code to generated/ folder so all M3 and M3E generated code will be in the same location.\r\n\r\n## Pre-Review Checklist\r\n\r\n**Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). 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\u0027s review for guidance on which automated comments should be addressed.\r\n\r\n[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7997ed4c39b746f0b60a0179a6ed3eb6855a8a25",
      "old_mode": 33188,
      "old_path": "packages/material_ui/lib/src/app_bar.dart",
      "new_id": "523053651ef795ce51e399727fed9051b686c8ee",
      "new_mode": 33188,
      "new_path": "packages/material_ui/lib/src/app_bar.dart"
    },
    {
      "type": "rename",
      "old_id": "0165344301477adf0ac752543e214f36ecbde308",
      "old_mode": 33188,
      "old_path": "packages/material_ui/tool/gen_defaults/temporarily_excluded/generated/app_bar_defaults.g.dart",
      "new_id": "e50453c58df7c47c835ca9e553c3487f6e6fd833",
      "new_mode": 33188,
      "new_path": "packages/material_ui/lib/src/generated/app_bar_defaults_m3.g.dart",
      "score": 92
    },
    {
      "type": "modify",
      "old_id": "2da295bc4e9914b2d96a1cf3df30ee1413ecf0d1",
      "old_mode": 33188,
      "old_path": "packages/material_ui/tool/gen_defaults/bin/gen_defaults.dart",
      "new_id": "bcfe06fba9db859d7571d5c9a576b903247af83c",
      "new_mode": 33188,
      "new_path": "packages/material_ui/tool/gen_defaults/bin/gen_defaults.dart"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b4963b2aabfbc48c45dd0eb9207ee735d6af9306",
      "new_mode": 33188,
      "new_path": "packages/material_ui/tool/gen_defaults/templates/app_bar_template.dart"
    },
    {
      "type": "delete",
      "old_id": "fa13fa14f19b6fe182d33250d16ae74fcdfbec95",
      "old_mode": 33188,
      "old_path": "packages/material_ui/tool/gen_defaults/temporarily_excluded/templates/app_bar_template.dart",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "modify",
      "old_id": "26eaf485c53c09c54ddd3884e9600ffd3ada28d8",
      "old_mode": 33188,
      "old_path": "packages/material_ui/tool/gen_defaults/test/gen_defaults_test.dart",
      "new_id": "90063d5cdbe2c9ab4e0ca170b374b525c8f967f2",
      "new_mode": 33188,
      "new_path": "packages/material_ui/tool/gen_defaults/test/gen_defaults_test.dart"
    }
  ]
}
