Skip to content

chore: update compatibility with Flutter 3.47 - #433

Open
RmanAkbarzadeh wants to merge 4 commits into
xvrh:masterfrom
RmanAkbarzadeh:master
Open

chore: update compatibility with Flutter 3.47#433
RmanAkbarzadeh wants to merge 4 commits into
xvrh:masterfrom
RmanAkbarzadeh:master

Conversation

@RmanAkbarzadeh

Copy link
Copy Markdown

Description

This PR updates the package for Flutter 3.47.1 and migrates the existing Material and Cupertino UI code to the new standalone material_ui and cupertino_ui packages.

Changes

  • Updated Flutter compatibility to 3.47
  • Migrated package:flutter/material.dart to package:material_ui/material_ui.dart
  • Migrated package:flutter/cupertino.dart to package:cupertino_ui/cupertino_ui.dart
  • Updated affected imports to work with the standalone UI packages

Validation

  • flutter analyzepassed

Notes

This is a compatibility and migration update. No intentional changes have been made to the package's existing behavior or functionality.

@RmanAkbarzadeh

Copy link
Copy Markdown
Author

@xvrh After your changes to remove cupertino.dart and material.dart, I made the same changes here. I also migrated only the examples and tests to the standalone material_ui and cupertino_ui packages to avoid the deprecation issues expected in November.
Note: Although we should consider the fact that these changes require a minimum of Dart 3.12.0 and Flutter 3.44.0, considering the direction of Flutter’s development roadmap, we will likely need to upgrade to these versions in the near future anyway.

@xvrh

xvrh commented Sep 10, 2026

Copy link
Copy Markdown
Owner

@RmanAkbarzadeh if only example & test uses material_ui, we don't need it in pubspec > dependencies, just in dev_dependencies no?

@RmanAkbarzadeh

Copy link
Copy Markdown
Author

@xvrh You're right. I moved them to dev_dependencies.

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