Skip to content

Migrate to standalone material_ui and cupertino_ui packages - #457

Merged
AhmedLSayed9 merged 3 commits into
masterfrom
migrate_to_standalone_ui_packages
Nov 18, 2026
Merged

AhmedLSayed9 merged 3 commits into
masterfrom
migrate_to_standalone_ui_packages

Conversation

@AhmedLSayed9

Copy link
Copy Markdown
Owner

Migrate to standalone material_ui and cupertino_ui packages

Flutter 3.47 deprecated the in-SDK Material/Cupertino libraries in favor of standalone packages (material_ui, cupertino_ui). This migrates dropdown_button2 onto them.

Changes

  • Added deps material_ui: ^1.11.1 and cupertino_ui: ^1.1.7 (pubspec, melos.yaml, test package).
  • Swapped imports: package:flutter/material.dart → package:material_ui/material_ui.dart, package:flutter/cupertino.dart → package:cupertino_ui/cupertino_ui.dart across lib, examples, and tests.
  • Bumped min Flutter SDK to 3.47.0 (Dart >=3.13.0); updated pubspecs, melos.yaml, README badge, CHANGELOG.
  • Excluded build output and platform folders in root analysis_options.yaml.

Public API is unchanged — import/dependency migration only, but released as a major version per Flutter's guidance.

@AhmedLSayed9 AhmedLSayed9 added the enhancement New feature or request label Nov 18, 2026
@AhmedLSayed9 AhmedLSayed9 linked an issue Nov 18, 2026 that may be closed by this pull request
@AhmedLSayed9
AhmedLSayed9 merged commit cc4645e into master Nov 18, 2026
0 of 2 checks passed
@AhmedLSayed9
AhmedLSayed9 deleted the migrate_to_standalone_ui_packages branch November 18, 2026 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No Material widget found (material_ui standalone package)

1 participant