Engineering

Flutter material_ui migration: what to do before 3.50

Qorinx Engineering · 8 min read · Updated 2026
Flutter material_ui migration: what to do before 3.50

If you own a Flutter app, the Flutter material_ui migration is coming for you, but it is a planned and mostly mechanical change, not an emergency. Flutter is moving its Material and Cupertino widgets out of the SDK and into two standalone packages, material_ui and cupertino_ui. The old in-SDK copies are due to be formally deprecated in the November stable release. Deprecated does not mean deleted, but it does mean your analyzer will start complaining, and your dependencies decide how painful the move is.

Below is what is changing, what breaks, the order we would work in, and when you should leave it alone. Everything about the change is as of November 9, 2026, and comes from the Flutter team's own posts and docs that we read for this article.

What is changing in Flutter, and when?

The timeline has four steps, all taken from the Flutter team's announcements:

  • Freeze. Contributions to the Material and Cupertino libraries inside the SDK were frozen starting in Flutter 3.44, so the code in your SDK today is the code you will keep getting.
  • Standalone 1.0. With Flutter 3.47 on August 12, 2026, version 1.0 of material_ui and cupertino_ui reached pub.dev. They are exact copies of the frozen framework code, so nothing should look or behave differently.
  • Deprecation. The same announcement schedules the original design libraries for formal deprecation in the Fall stable release in November. Flutter's public release calendar lists 3.50 as the November release, and as of today the 3.50 release tracker is open with beta builds shipping, so treat 3.50 as the version that turns on the warnings.
  • Removal. The team has said the old code will be deleted some time after deprecation. We found no removal date in any of the sources we read.

The standalone packages also move on their own clock. The plan is weekly releases, instead of waiting for a quarterly SDK cut, and the Flutter team says work is already underway on official Liquid Glass and Material 3 Expressive implementations. The SDK copies, being frozen, will not get any of that.

Will my Flutter app break?

Not on the day you upgrade. The deprecated libraries still compile and still run. What changes first is the noise: importing the old Material and Cupertino libraries produces deprecation notices from the analyzer.

That matters more than it sounds if your CI is strict. One open source team that has already prepared for 3.50 reports that the deprecation fails their analyze step because it treats informational messages as fatal. If your pipeline does the same, your first 3.50 upgrade will go red on a codebase that works perfectly.

The real risk is not your own code. It is the packages you depend on, and that is where this migration stops being mechanical.

Why is Flutter doing this?

It is worth understanding, because it tells you whether to take the change seriously. The Flutter team's own explanation names two problems.

The first is upgrade pain. Because the design libraries shipped inside the SDK, taking a security patch also meant taking every Material and Cupertino change. The team says this kept many teams on older Flutter releases, and that a real upgrade could consume multiple weeks of developer effort.

The second is speed. With one stable release every three months, a fix that misses the cutoff by a minute can wait 16 weeks to reach anyone. Separate packages can ship fixes weekly.

For a founder, the second-order effect is the good news. Once you are on material_ui, bumping Flutter for a platform change, such as a new iOS or Android requirement, should stop dragging UI changes along with it. That is a real reduction in the cost of keeping an app alive, which in our experience is the line item owners think about last. For the build side of the budget, see what a Flutter app costs.

How do you migrate a Flutter app to material_ui?

For a typical app the sequence is short. The official migration guide covers the commands, and this is the order we would follow:

  1. Upgrade to Flutter 3.47, the release that introduced the packages, and get your tests green first. Do the SDK bump as its own change. If something breaks, you want to know whether the SDK or the design packages caused it.
  2. Branch, then run the automated fix. The Flutter team ships a dart fix rule called migrate_design_widgets. Run it with the apply flag and it rewrites your imports from the old Material and Cupertino libraries to the new packages. If it fails to update your pubspec, which the team lists as a known early bug, add material_ui and cupertino_ui with flutter pub add and run the fix again.
  3. Update localization setup. The Material and Cupertino localization delegates now live inside the new packages. Setting localizationsDelegates to GlobalMaterialLocalizations.delegates now includes the Cupertino and Widgets delegates too, which simplifies most apps.
  4. Wrap the app in the compatibility bridge if needed. More on this below, because it is where people get surprised.
  5. Check every screen on both platforms. Run your widget tests and go through the app by hand on a real iPhone and a real Android device. Because 1.0 is a copy of the frozen code, you are looking for crashes and missing widgets, not visual redesigns.
  6. Merge, then do the Flutter 3.50 upgrade as a separate change. Keep the toolchain bumps (Gradle, the Android Gradle Plugin, Xcode) out of this pull request as well.

One tip that costs nothing: some files import the full Material library but only use basic building blocks. Those can usually import the plain widgets library instead, which removes them from the migration entirely. This is our advice, not an official step, so confirm it compiles before you rely on it.

Where does the migration get hard?

Dependencies. The new packages define their own types. A ColorScheme from material_ui is not the same type as a ColorScheme from the old library, even though the name and the fields match. Dart is strict about that.

Flutter ships a MaterialUiCompatibilityBridge to ease the transition. You wrap your app with it inside the app's builder, and it passes theme and localization data down to widgets that still read from the old libraries. According to the docs, it cannot fix a package whose public API accepts or returns the old types, such as a ColorScheme, a TextTheme or a FloatingActionButtonLocation. Those packages must migrate before you can pass them modern values.

There is a subtler failure too. The same open source team found two packages that compiled fine under the bridge but threw at runtime, because the bridge supplies theme and localization data but not the Scaffold or Material ancestors those widgets look for. A green build does not prove the screens work, which is why step 5 above is a manual check.

So before you touch a line of code, do a dependency audit:

  • List every package that imports Material or Cupertino. Your lockfile and a search of the dependency sources will show it.
  • Mark the ones that expose Material types in their public API. These are your blockers.
  • Check each one for a release or an open issue about material_ui. Active packages will move. Abandoned ones will not.
  • Decide on a fallback for each blocker. Replace the package, fork and migrate it yourself, or wait for the maintainer.

Plugin and package maintainers have it worse. The docs say to treat moving to the new packages as a major version bump, because every consumer's types change.

Should you migrate now or wait?

It depends on which of three situations you are in.

You are about to build a new Flutter app. Start on the current stable release with material_ui and cupertino_ui from day one. There is nothing to migrate later, and you avoid the deprecation warnings entirely. Check that the packages you plan to use have migrated, and prefer ones that have. If you are still deciding on the stack, our comparison of Flutter and React Native for an MVP covers that choice.

You have a live app and an active team. Plan the migration into a normal release cycle, soon after the dependency audit tells you how hard it is. Doing it before the deprecation lands means your first 3.50 build is not also your first migration build. Waiting does not remove the work. It only means you do it later, on a date someone else picks.

You have a live app and nobody currently owns it. Do not upgrade Flutter blindly. Stay on a patched 3.47 build while you get someone to look at it, since the 3.47 line is still receiving fixes, including a security update. Then have a senior engineer run the audit and the migration on a branch before anything ships. An app with no owner and a major framework change is a rescue job waiting to happen, and it is cheaper to treat it as one early.

It is also a sensible moment to batch the other platform work that is landing this season. The 3.47 release notes say the iOS 27 SDK requires the UIScene lifecycle, and that apps built with Xcode 27 which do not adopt it fail to launch at startup. Most apps get this migration automatically, but custom native code in the app delegate or older plugins need manual work. The same release raised the minimum supported iOS to 15 and verified Android builds against Java 17, Android Gradle Plugin 9.1.0 and Gradle 9.3.1. One public readiness report we read suggests the 3.50 project template moves those versions up again, so check the 3.50 release notes before you upgrade. Do these as separate pull requests so you can tell which change broke what.

What this means if you are paying someone to build or maintain your app

You do not need to read the migration guide. You do need your Flutter team to answer four questions in plain language:

  • Which Flutter version are we on, and which one will we be on after the November release?
  • How many of our dependencies import Material or Cupertino, and which ones expose those types?
  • Does our CI treat analyzer deprecations as failures, and what happens on the first 3.50 build?
  • Is the migration its own change with its own tests, separate from the toolchain bump?

A team that can answer these in one message has a handle on its codebase. A team that cannot has just given you an early warning about the real health of your app.

We build and hand over Flutter apps for founders, with the code, signing keys and store accounts transferred to you, so this kind of upkeep question is one you can bring to us or to anyone else. You can see a cross-platform Flutter build in production in the Circle Hospitality case study, and the Flutter app development service page explains how we work. If you would rather scope a new app than maintain an old one, our MVP development service comes with a written fixed quote within 48 hours, and we explain why that works in why we quote fixed prices.

Got a project that needs this thinking applied?

Bring the problem. Fixed quote, real deadline, senior engineering.

Book a free 30-minute call