Skip to content

Migrate to material_ui and cupertino_ui packages (1.2.0) - #207

Open
yjbanov wants to merge 2 commits into
flutter:mainfrom
yjbanov:migrate-material-cupertino-packages
Open

yjbanov wants to merge 2 commits into
flutter:mainfrom
yjbanov:migrate-material-cupertino-packages

Conversation

@yjbanov

@yjbanov yjbanov commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Migrates package:flutter/material.dart and package:flutter/cupertino.dart imports to package:material_ui/material_ui.dart and package:cupertino_ui/cupertino_ui.dart (supported on both Flutter stable 3.50.0 and beta 3.51.0-0.1.pre), and prepares the 1.2.0 release.

Summary of changes:

  • Add material_ui: ^1.11.1 and cupertino_ui: ^1.1.7 dependencies in pubspec.yaml and example/pubspec.yaml, and bump SDK/Flutter constraints to sdk: ^3.13.0 and flutter: '>=3.47.0'.
  • Replace deprecated package:flutter/material.dart and package:flutter/cupertino.dart imports across lib/, test/, and example/.
  • Update FirebaseAI.vertexAI() to FirebaseAI.agentPlatform() in example/lib/vertex/vertex.dart.
  • Apply prefer_initializing_formals fixes and dart format . for Dart 3.13+.
  • Bump package version to 1.2.0 in pubspec.yaml and add ## 1.2.0 release notes to CHANGELOG.md.

@yjbanov yjbanov changed the title Migrate to material_ui and cupertino_ui packages Migrate to material_ui and cupertino_ui packages (1.2.0) Nov 17, 2026

@ditman ditman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ship it! Thanks for the update!

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