Skip to content

[various] Remove unnecessary material and cupertino imports - #12648

Open
ricardodalarme wants to merge 28 commits into
flutter:mainfrom
ricardodalarme:refactor/remove-unnecessary-material-imports
Open

[various] Remove unnecessary material and cupertino imports#12648
ricardodalarme wants to merge 28 commits into
flutter:mainfrom
ricardodalarme:refactor/remove-unnecessary-material-imports

Conversation

@ricardodalarme

@ricardodalarme ricardodalarme commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Remove material and cupertino imports from multiple files that don't need them

Part of: #flutter/flutter#191322

Pre-Review 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.

Footnotes

  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. 2

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request replaces imports of 'package:flutter/material.dart' with 'package:flutter/widgets.dart' across multiple packages, examples, and tests, reducing unnecessary dependencies on the Material library. There are no review comments, and I have no feedback to provide.

@ricardodalarme ricardodalarme changed the title Remove unnecessary material imports from multiple packages Remove unnecessary material and cupertino imports from multiple packages Aug 27, 2026
@ricardodalarme
ricardodalarme force-pushed the refactor/remove-unnecessary-material-imports branch from 32d444f to 3376436 Compare August 28, 2026 05:27
@Piinks Piinks added the CICD Run CI/CD label Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants