Flutter 3.50, released on 11 November 2026 alongside Dart 3.14, formally deprecates package:flutter/material.dart and package:flutter/cupertino.dart. It also deprecates the matching localization delegates in package:flutter_localizations.
Material and Cupertino are not gone, and they are not unmaintained. They moved out of the Flutter SDK and onto pub.dev, as the standalone packages material_ui and cupertino_ui. New projects created with flutter create already import package:material_ui by default.
If you maintain a production app, the import change is the straightforward part. What usually stalls an upgrade is a third-party package that still types its public API against the old libraries. This is a practical guide to what changed, how to migrate, and where to look when dart fix is not enough.
What actually changed
This did not arrive all at once. Starting in Flutter 3.44, contributions to Material and Cupertino inside the core SDK were frozen. In Flutter 3.47, released on 12 August 2026, version 1.0 of material_ui and cupertino_ui landed on pub.dev as an opt-in. The 1.0.0 releases were written to match that frozen in-framework code, so the first move was meant to be a drop-in. From there, the packages follow semantic versioning.
Flutter 3.50 is the formal deprecation. The in-framework libraries still compile in this release, but they are no longer the path forward. The standalone packages are.
The Flutter team has also said this work will eventually finish with the removal of Material and Cupertino from the framework itself, "at a future date." There is no official removal date. Deprecation in 3.50 is not deletion, and we would not plan a migration around a deadline that has not been announced.
Why this is happening
For years, Material and Cupertino lived inside the SDK. That made it easy to start a project. It also tied every widget fix and every new component to the quarterly Flutter release train. You could not take a design-library fix without a full SDK upgrade, and you could not take an SDK upgrade without also absorbing whatever had changed in Material or Cupertino.
The Flutter team has been clear about the cost of that coupling. Upgrades that should have been a security or engine patch often turned into a UI migration, which is one reason teams stay on old Flutter versions longer than they should.
The standalone packages are designed to ship on their own schedule, planned as weekly releases, without a full SDK upgrade. Community contributions now go to the flutter/packages repository. The split also lays groundwork for a more style-neutral widgets layer, so custom design systems have a stronger base to build on.
This is not Flutter walking away from Material or Cupertino. The official packages remain maintained by the Flutter team. As of 13 August 2026 they have been open for contributions, and work is already underway on official implementations of Liquid Glass and Material 3 Expressive. Those are in progress, not a claim that either has already shipped in the packages you will add today.
How to migrate your app
Start with dart fix
The official migration path is one automated fix:
dart fix --apply --code=migrate_design_widgets
That command updates imports from package:flutter/material.dart and package:flutter/cupertino.dart to the standalone packages. If it does not add the new dependencies to pubspec.yaml, add them yourself:
flutter pub add material_ui
flutter pub add cupertino_ui
Then run dart fix once more, so remaining automated migrations and lint cleanups, such as import sorting, can land.
Or change the imports by hand
To do it manually, add the packages as above, then replace the old imports:
// Before
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
// After
import 'package:cupertino_ui/cupertino_ui.dart';
import 'package:material_ui/material_ui.dart';
Widget and class names stay the same. What changes is the library they come from. That distinction matters later, when types from the old import and the new import look identical and still will not compile together.
Move Material and Cupertino localizations
Localization delegates and translated strings for Material and Cupertino widgets now live in material_ui and cupertino_ui, not in flutter_localizations. If your MaterialApp still pulls GlobalMaterialLocalizations or GlobalCupertinoLocalizations from package:flutter_localizations, switch them.
// Before
import 'package:flutter/material.dart';
import 'package:flutter_localizations/flutter_localizations.dart';
MaterialApp(
localizationsDelegates: const <LocalizationsDelegate<dynamic>>[
GlobalCupertinoLocalizations.delegate,
GlobalMaterialLocalizations.delegate,
GlobalWidgetsLocalizations.delegate,
],
);
// After
import 'package:material_ui/material_ui.dart';
MaterialApp(
localizationsDelegates: GlobalMaterialLocalizations.delegates,
);
Setting localizationsDelegates to GlobalMaterialLocalizations.delegates from material_ui also includes the Cupertino and Widgets delegates. You do not need to list all three by hand.
Where the upgrade actually gets stuck
Once your own imports are updated, the next build is often where the real work shows up: a dependency that still imports package:flutter/material.dart or package:flutter/cupertino.dart.
Both standalone packages ship compatibility bridges. MaterialUiCompatibilityBridge wraps your app inside MaterialApp.builder. CupertinoUiCompatibilityBridge does the same inside CupertinoApp.builder. You can also wrap a single subtree that still contains a legacy package widget.
import 'package:material_ui/material_ui.dart';
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
builder: (BuildContext context, Widget? child) {
return MaterialUiCompatibilityBridge(child: child!);
},
home: const HomeScreen(),
);
}
}
The Material bridge injects theme and localization data down the tree, so unmigrated widgets that call Theme.of(context) or MaterialLocalizations.of(context) can keep working. The Cupertino bridge does the equivalent for CupertinoThemeData and CupertinoLocalizations.
That is as far as the bridge goes. It cannot fix a type mismatch when a package exposes, accepts, or returns in-framework SDK types in its public API. The official examples are passing a FloatingActionButtonLocation, a ColorScheme, or a TextTheme. Because Dart treats types from two different packages as distinct, a ColorScheme from package:flutter/material.dart cannot be assigned to a parameter that expects a ColorScheme from package:material_ui. Those packages have to migrate themselves before your app can pass the new types through.
If you maintain a package or plugin, treat this as a breaking change for any consumer who has not moved yet. The class names are the same; the library is not. The official guidance is to ship this as a major version bump.
For a product team, that is the audit worth doing before you call the 3.50 upgrade "just an import change": list the packages that take or return Material or Cupertino types, and check whether they already depend on material_ui or cupertino_ui. The ones that do not are your blockers, not the dart fix step.
Flutter 3.50 also includes other breaking changes unrelated to this split. Read the official list before you roll the upgrade into production.
Migration checklist
- Upgrade the SDK to Flutter 3.50 and confirm the app still builds with the deprecated in-framework imports, so you are not debugging an older issue during the migration.
- Run
dart fix --apply --code=migrate_design_widgets. - If
material_uiorcupertino_uiis missing frompubspec.yaml, add it withflutter pub add, then rundart fixagain. - Replace any
GlobalMaterialLocalizationsorGlobalCupertinoLocalizationsdelegates imported fromflutter_localizationswith the versions from the standalone packages. PreferGlobalMaterialLocalizations.delegatesfrommaterial_uiif you useMaterialApp. - Build the app and collect type errors. Separate "our code still has an old import" from "a dependency's public API is still typed against the SDK libraries."
- For dependencies that only read theme or localizations from context, wrap the app or the relevant subtree with
MaterialUiCompatibilityBridgeorCupertinoUiCompatibilityBridge. - For dependencies that take or return Material or Cupertino types in their public API, the bridge will not help. Upgrade, replace, or wait for that package. If you own it, migrate it and bump the major version.
- Run the app on a device or emulator, not only
flutter analyze. Theme and localization issues often show up at runtime. - Do not stay on the old imports indefinitely. Removal is coming, but the date has not been published, and the longer you wait, the more of the ecosystem will have moved without you.
FAQ
Did Flutter remove Material and Cupertino in 3.50?
No. Flutter 3.50 deprecates the in-framework libraries and makes the standalone packages the default for new projects. The widgets still exist in material_ui and cupertino_ui, and the Flutter team continues to maintain them. Removal from the SDK is planned for a future date that has not been announced.
Do we have to migrate immediately?
The deprecated imports still work in 3.50, so a production app will not go dark on upgrade day because of this change alone. We would still migrate sooner rather than later. New projects already use the packages, the ecosystem will start typing public APIs against them, and waiting only postpones a move you will have to make anyway.
Is dart fix enough?
For your own code, it is usually enough to update imports, and it may also add the new pub dependencies. It will not rewrite third-party packages. If a dependency still exposes SDK Material or Cupertino types in its public API, you need a package update, not another pass of dart fix.
Can we take Material or Cupertino fixes without upgrading Flutter?
That is one of the reasons for the split. The packages are planned to release on their own weekly schedule, independent of the quarterly SDK. You still need a recent enough Flutter to use them, and you should follow each package's semantic versioning when you upgrade. Independent widget releases are not a substitute for staying current on the engine and framework.
If your app is stuck on an older Flutter version, or a dependency's public API is blocking the move to material_ui and cupertino_ui, Gabuldev can help. We do Flutter upgrades and app rescue for teams that need the production app moved forward without a rewrite.