Skip to content

Migrate to material_ui and update dependencies for Flutter 3.47 - #455

Closed
Alyssonpp wants to merge 1 commit into
AhmedLSayed9:masterfrom
Alyssonpp:master
Closed

Alyssonpp wants to merge 1 commit into
AhmedLSayed9:masterfrom
Alyssonpp:master

Conversation

@Alyssonpp

Copy link
Copy Markdown

This PR migrates dropdown_button2 to the standalone material_ui package and updates the project for Flutter 3.47.

Changes

  • Require Flutter 3.47+ and Dart 3.13+.
  • Replace legacy Material imports with package:material_ui/material_ui.dart across the library, examples, and tests.
  • Update dependencies to the latest compatible versions.
  • Upgrade to Melos 8 and migrate to native Dart workspaces.
  • Update CI configuration, documentation, and lint rules.
  • Refresh golden test references for rendering differences.

Migration notes

Applications using this version should import package:material_ui/material_ui.dart for Material widgets and themes.

The minimum SDK requirements and Material dependency migration are breaking changes for existing consumers.

Validation

Validated locally on macOS with Flutter 3.47.9 and Dart 3.13.7:

  • All 68 tests passed, including golden tests.
  • Static analysis passed with --fatal-infos.
  • Formatting checks passed.

platform, material_color_utilities, and test_api remain at the newest versions allowed by Flutter and Melos constraints.

- Migrate Material widgets to the standalone `material_ui` package.
- Update dependencies and migrate development tooling to Melos 8 and Dart workspaces.
- Refresh golden test references for Flutter 3.47 rendering.
@AhmedLSayed9

Copy link
Copy Markdown
Owner

Thanks for working on this! I went with #457, which covers the full migration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants