Skip to content

Replace Flutter Material package with Material UI package across mult… - #454

Closed
limitless-brain wants to merge 1 commit into
AhmedLSayed9:masterfrom
limitless-brain:other/migrate-to-material-ui
Closed

limitless-brain wants to merge 1 commit into
AhmedLSayed9:masterfrom
limitless-brain:other/migrate-to-material-ui

Conversation

@limitless-brain

Copy link
Copy Markdown

This pull request updates the dropdown_button2 package to use the new material_ui and cupertino_ui packages instead of the default Flutter material and cupertino libraries. This change impacts both the implementation and the example/test code, and updates dependencies in pubspec.yaml accordingly.

Dependency and Import Updates:

  • Updated dependencies in pubspec.yaml to include material_ui and cupertino_ui, and bumped meta to version ^1.19.0.
  • Replaced all imports of package:flutter/material.dart with package:material_ui/material_ui.dart in implementation, example, and test files (dropdown_button2.dart, example.dart, custom_dropdown_button2.dart, dropdown_button2_test.dart). [1] [2] [3] [4]
  • Replaced import of package:flutter/cupertino.dart with package:cupertino_ui/cupertino_ui.dart in seperated_sliver_child_builder_delegate.dart.

These changes ensure that the package uses the new UI libraries consistently throughout the codebase.

@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