Kate Lovett 8373cae876
[CP-stable] Pub dependencies & widget_preview_scaffold tests relocation (#182317)
Fixes https://github.com/flutter/flutter/issues/182314

This cherry picks in 2 changes to stable
- https://github.com/flutter/flutter/pull/180886
  - The pub roller was busted, and the stable release missed the update
- https://github.com/flutter/flutter/pull/180658
  - Preceded manual pub roll, required to pass analysis with above change.

This is a manual cherry pick, following https://github.com/flutter/flutter/blob/main/docs/releases/Flutter-Cherrypick-Process.md

Around about when we created the release, the pub roller was busted. It is fixed now (https://github.com/flutter/flutter/issues/180503).

Impacted Users: significant
Impact Description: users cannot upgrade to the latest version
Workaround: None
Risk: Not sure, but the pub roll this is cherry picking landed very very close to the stable release being cut. Analysis and flutter doctor all pass.
Test Coverage: For the widget scaffold change, tests are just relocated
Validation steps: https://github.com/dart-lang/test/issues/2570#issue-3684439955

**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's review for guidance on which automated comments should be addressed.
2026-02-12 22:16:25 +00:00
..