Home / Insights / Mobile App Development

Mobile App Development

Flutter 3.50 Deprecates material.dart: A 2027 Upgrade Plan for material_ui, CocoaPods Read-Only and Android Intent Hardening

Flutter 3.50 shipped on 11 November 2026 and formally deprecated the in-framework Material and Cupertino libraries. In the same quarter, CocoaPods trunk goes read-only on 2 December and Google Play already requires API level 36 for updates. This is the sequenced upgrade plan I use for production Flutter apps, with the checks, owners and exit criteria for each step.

TopicsMobile App DevelopmentArchitecture and Modernization

Key takeaways

  • Flutter 3.50 (11 November 2026, Dart 3.14) formally deprecates the in-framework Material and Cupertino libraries in favour of the standalone material_ui and cupertino_ui packages. No removal date has been published.
  • The import rewrite is tooled with dart fix; the real work is localizations, generated code, third-party packages and proving there is no visual change.
  • CocoaPods trunk becomes read-only on 2 December 2026. Builds keep working, but CocoaPods-only dependencies stop getting updates, so audit plugins for Swift Package Manager support now.
  • Android release builds now verify Intent senders and ignore engine flags, and Google Play already requires API 36 for updates. Test launch paths on release builds, not debug.
  • Plan one bundled upgrade with an inventory, a design-package pull request, platform hardening and a staged rollout, and let coding agents handle mechanical fixes under engineer review.

Most Flutter upgrades are routine. You bump the SDK, fix a handful of analyzer warnings, run the test suite and ship. Flutter 3.50 is not one of those. It marks the most imported library in almost every Flutter codebase, package:flutter/material.dart, as deprecated, and it lands in the same few weeks as two platform changes that have nothing to do with Flutter itself but hit every Flutter app that ships to the App Store and Google Play.

None of this is an emergency today. Deprecated code still compiles, existing CocoaPods dependencies still install, and an app that already targets API level 36 keeps shipping. The risk is drift. Flutter plans at least four stable releases a year, and every quarter you postpone the migration, the gap between your code, your plugins and the packages the ecosystem actually maintains gets wider. In my experience, that is how a two-week upgrade becomes a two-month rescue project. Below is how I would plan it for a production app going into 2027.

What changed this quarter

Here are the dated events that matter for a production Flutter app, taken from the official announcements listed in the sources at the end.

DateChangeWhat it means for your app
11 Nov 2026Flutter 3.50 stable, with Dart 3.14The in-framework Material and Cupertino libraries and their flutter_localizations delegates are formally deprecated. New projects created with flutter create now import package:material_ui by default.
Flutter 3.50Seven documented breaking changesThese include the design-package migration, stricter Android Intent verification for app entrypoints, engine flags ignored in Android release builds, soft hyphens rendered at line breaks, WidgetSpan order in right-to-left text and web viewport-fit=cover SafeArea support.
Flutter 3.50New Android toolchain defaultsNew projects default to Android Gradle Plugin 9.3.1, Gradle 9.5.0, minSdk 24 and compile and target SDK 36.
31 Aug 2026 (extensions to 1 Nov 2026)Google Play target API level 36New apps and app updates must target Android 16 (API 36). The extension window has closed, so this is now a hard gate for every release.
2 Dec 2026CocoaPods trunk becomes read-onlyNo new pods or pod versions will be published to trunk. Existing builds keep working, but dependencies distributed only through trunk stop receiving updates.
2026 roadmapWasm and ImpellerFlutter intends Wasm to become the default on the web and is completing the move to Impeller on Android. In 3.50, Wasm on Safari 26.2+ and Firefox 147+ is opt-in.

The Flutter team describes its roadmap as a statement of intent rather than a guarantee, so I plan against the dated items in the table and treat the roadmap goals as direction.

Why this release deserves a planned upgrade

The design-library change happened in stages. According to the official migration guide, contributions to the in-SDK Material and Cupertino libraries were frozen from Flutter 3.44, version 1.0 of the standalone material_ui and cupertino_ui packages shipped alongside 3.47 as an opt-in, and 3.50 is the formal deprecation. Three practical consequences follow.

  • Fixes now land in the packages, not the SDK. The 3.50 breaking-change list already includes a DropdownButtonFormField change versioned in material_ui 1.8.0. If you stay on the deprecated imports, you are on a frozen copy of the widgets your whole UI is built on.
  • Your warnings budget is about to explode. Every file that imports material.dart now produces a deprecation warning. A CI gate that fails on analyzer warnings will fail, and a team that learns to ignore hundreds of warnings will also miss the ones that matter.
  • There is no published removal date. The migration guide does not say when the old imports will stop working. That is not a reason to wait. It means you cannot plan a deadline around it, so the sensible move is to migrate while it is cheap and reversible.

The platform changes add pressure from the other side. You do not control Apple or Google release gates, and a Flutter upgrade is usually the moment you also touch Xcode, Gradle and the plugin list. Bundling them into one planned piece of work is cheaper than three separate interruptions. I wrote about the general pattern in planning framework and app store upgrades before they become emergencies; this article applies it to the current Flutter cycle.

The material_ui migration in practice

The mechanical part is well tooled. The guide gives one command, dart fix --apply --code=migrate_design_widgets, plus flutter pub add material_ui and, if you use Cupertino widgets, flutter pub add cupertino_ui. Imports move from package:flutter/material.dart to package:material_ui/material_ui.dart and from package:flutter/cupertino.dart to package:cupertino_ui/cupertino_ui.dart. On a well-structured app, the rewrite itself is an afternoon. What takes time is everything around it.

1. Inventory before you touch anything

  • Count the files that import the two libraries, and split them into your own code, generated code and vendored code. Generated files will need their generators updated, not hand edits.
  • List every direct and transitive package that still imports package:flutter/material.dart. They keep compiling while the old import is deprecated, but you need to know which ones are maintained and which ones will need a fork or a replacement later.
  • Find your design-system layer. If the app wraps Material widgets in its own components, the migration is concentrated there. If Material widgets are used directly in hundreds of screens, expect more review work.
  • Record a visual baseline. Golden tests or screenshot tests on your top screens are the only reliable way to prove the migration changed imports and nothing else.

2. Localizations are where builds actually break

The guide calls out two traps. First, the app should use GlobalMaterialLocalizations.delegates instead of listing the three delegates separately, and Material widgets throw an error at runtime if no MaterialLocalizations delegate is present. Second, flutter_localizations still exports the deprecated delegates, which can cause ambiguous_import errors. There is also a known issue in 3.50: flutter gen-l10n still generates the deprecated delegates, tracked by the Flutter team on GitHub. If your app uses generated localizations, pin a plan for that file rather than editing generated output by hand.

3. Separate the migration from feature work

I insist on one pull request, or a short series, that contains only the import migration and its direct fixes, with no feature changes. Reviewers can then check it quickly, the golden tests carry the proof, and if something goes wrong in production the revert is clean. The compatibility bridges (MaterialUiCompatibilityBridge and CupertinoUiCompatibilityBridge) are themselves deprecated, so treat them as a temporary step, not a destination.

CheckHow to verifyOwner
No imports of the deprecated libraries in app codeAnalyzer with deprecation warnings treated as errors on the migrated packagesTech lead
Localizations load in every supported localeWidget tests that pump the app per locale; manual check of date and number formatsDeveloper and QA
No visual change on key screensGolden or screenshot tests reviewed in the pull requestQA
Third-party packages accounted forDependency list with status: migrated, maintained, at riskTech lead
Release build tested on real devicesInternal track (Play) and TestFlight build smoke testQA

iOS: CocoaPods goes read-only on 2 December

The CocoaPods maintainers announced in November 2024 that trunk would become read-only, and set the permanent switch for 2 December 2026. Their post is clear about the effect: existing builds keep working, but no new pods or versions will be added to trunk. Google’s own SDK teams are telling developers to migrate to Swift Package Manager, and the Flutter 3.50 announcement says the Swift Package Manager opt-out is winding down for the same reason.

For a Flutter app, the question is not whether Flutter supports Swift Package Manager. It does, and it has been on by default for iOS and macOS since the 3.44 cycle, according to the Flutter team’s Google I/O recap. The question is whether every plugin in your app supports it. A plugin that only ships a podspec through trunk will still build, but it will never receive a security fix through CocoaPods again.

  • List every plugin with iOS native code and record whether it declares Swift Package Manager support.
  • For each plugin without it, decide: upgrade to a version that has it, replace it, or fork it and own it.
  • Check native SDKs you add directly in the iOS project (analytics, payments, push providers) for an SPM distribution.
  • Run the iOS build in CI with Swift Package Manager enabled and the Podfile removed on a branch, so you know the real gap rather than guessing.

If you are also preparing for Apple’s next SDK requirement, combine the two. I covered the Apple side in the iOS 27 SDK upgrade plan.

Android: Intent hardening, engine flags and API 36

Two of the 3.50 breaking changes are security hardening on Android, and both behave differently in debug and release builds. That is exactly the kind of change that passes every test on a developer machine and fails after release.

Stricter Intent verification for app entrypoints

The Android embedder now verifies who sent an Intent before it uses the routing, entrypoint, argument and cached-engine extras. In release builds, unverified extras are ignored and the app falls back to manifest metadata or defaults. Non-exported activities are trusted, on API 34 and above the launching app is checked by UID, and deep links must match an intent filter. Debug and profile builds bypass the check and only log a warning.

Who is affected: add-to-app integrations where a native host launches a Flutter screen with an initial route, apps where push notifications or widgets open a specific route through Intent extras, and internal tools that launch the app from another app. The documented fixes include marking the host activity as not exported, moving to proper deep links, declaring the entrypoint and initial route as metadata, or overriding the entrypoint method in a subclass.

Engine flags ignored in release mode

Release builds now ignore engine configuration flags passed through Intent extras and read configuration only from the manifest or programmatic setup. The CLI also rejects flutter run --release --use-application-binary with engine flags. If your QA team uses flags to switch behaviour on release builds, move that to profile builds or manifest metadata before you upgrade.

Target API 36 is already a gate

Google Play has required API level 36 for new apps and updates since 31 August 2026, and the extension date of 1 November has passed. New Flutter 3.50 projects target 36 by default, but existing projects keep whatever their Gradle files say. Check targetSdk explicitly in your release pipeline. My earlier article on planning for Google Play target API levels explains how to make this a yearly routine rather than a scramble.

Web: when to switch on Wasm

According to the 3.50 announcement, Chromium browsers already default to Wasm, and Wasm builds on Safari 26.2+ and Firefox 147+ deliver more than twice the frame rate of the JavaScript build on heavy benchmarks. It is still opt-in for those browsers through flutter_bootstrap.js. My rule is simple: if your Flutter web app is a dashboard or a data-heavy internal tool with Safari users, test the Wasm build now on your real screens and measure; if it is a marketing site or content page, Flutter web is usually the wrong tool anyway and a framework such as Next.js serves search and first load better.

Using coding agents for the migration, with guardrails

This migration is a good fit for coding agents, and the tooling has caught up. The Dart and Flutter MCP server, started with dart mcp-server, gives an assistant access to analyzer diagnostics, symbol resolution, test runners and runtime inspection, and the 3.50 release adds AI coding plugins and package skills. The Flutter team reports that 79% of Flutter developers in its 2025 user survey use AI assistants, so most teams already have the habit.

TaskAgent fitGuardrail
Rewriting imports and fixing resulting analyzer errorsStrongRun dart fix first; let the agent handle the leftovers; require a clean analyzer run
Updating localization setupGood with reviewHuman review of every change to delegates and generated files
Auditing plugins for Swift Package Manager supportGood for researchVerify each claim against the plugin’s own repository and pub.dev page
Android manifest and Intent changesWeakEngineer-owned; test on release builds on real devices
Visual regressionsWeakGolden tests and a human reviewer, not the agent’s judgement

Keep agents on a branch with no access to signing keys or store credentials, and let the pipeline, not the agent, decide what merges. The permission model I use is described in AI agents in your CI/CD pipeline.

A sequenced upgrade plan

This is the order I use. The durations are a planning illustration for a mid-sized app with a working test suite, not a quote; your inventory in step one sets the real numbers.

PhaseWorkExit criterion
1. Inventory (days 1 to 3)Import counts, plugin list with SPM and maintenance status, Android Intent usage, current target SDK, golden-test coverage of key screensA written risk list everyone has read
2. Toolchain (week 1)Upgrade to Flutter 3.50 and Dart 3.14 on a branch, update Gradle and AGP, fix compile errors onlyDebug and release builds pass on CI
3. Design packages (week 2)Run dart fix, add material_ui and cupertino_ui, fix localizations, update design-system wrappersNo deprecated design imports in app code; golden tests unchanged
4. Platform hardening (week 2 to 3)Intent and engine-flag changes on Android, Swift Package Manager on iOS, replace or fork at-risk pluginsRelease builds verified on real devices for deep links, notifications and add-to-app flows
5. Release (week 3 to 4)Staged rollout on Google Play, phased release on the App Store, monitor crash-free sessionsCrash and ANR rates at or better than the previous release
6. Routine (ongoing)Track each quarterly stable release; keep a running dependency listNext upgrade starts from a clean analyzer, not a backlog

What makes this expensive, and what keeps it cheap

Decision-makers usually ask me for a number before the inventory exists. I prefer to show which factors move it, because they are visible in a day of review.

FactorCheaperMore expensive
Current Flutter version3.44 or laterTwo or more stable releases behind, or pre-Dart 3 code
UI structureOwn design-system components wrap MaterialMaterial widgets used directly across hundreds of screens
PluginsMainstream, maintained, SPM-readyAbandoned plugins, private forks, CocoaPods-only native SDKs
TestsGolden tests and widget tests on key flowsManual testing only
Android launch pathsStandard deep linksAdd-to-app, custom Intent extras, launches from other apps
Release processCI builds and signs, staged rolloutManual builds from a developer machine

If most of your answers sit in the right-hand column, budget for the migration as a small project with its own owner. If you inherited the app and do not know the answers, start with a technical review such as the one in taking over an existing Flutter app.

Pre-release checklist

  • Flutter 3.50 and Dart 3.14 pinned in CI, with the version recorded in the repository.
  • No imports of package:flutter/material.dart or package:flutter/cupertino.dart in app code; remaining package usages listed.
  • Localizations use GlobalMaterialLocalizations.delegates; gen-l10n output checked.
  • Golden tests on key screens pass with no visual diff.
  • Android targetSdk is 36 or higher; Intent-based routes tested in release mode.
  • No engine flags relied on in release builds.
  • iOS builds with Swift Package Manager; every CocoaPods-only dependency has an owner and a plan.
  • Web: Wasm build measured on Safari and Firefox if those users matter.
  • Agents worked on a branch without signing keys; every agent change reviewed by an engineer.
  • Staged rollout configured, with crash and ANR thresholds that stop the rollout.

The short version: plan one upgrade that covers Flutter 3.50, the design packages, Swift Package Manager and the Android hardening together, prove it with golden tests and release builds on real devices, and then keep pace with the quarterly releases so the next one is routine. If you want a team that does this work every quarter, see our Flutter development and cloud and DevOps services.

Frequently asked questions

Will our app stop compiling if we stay on material.dart?

Not in Flutter 3.50. The libraries are deprecated, not removed, and the official migration guide gives no removal date. You will see deprecation warnings, and fixes to Material and Cupertino widgets now ship in the standalone packages, so staying put means running on a frozen copy.

Can we skip 3.50 and wait for the next stable release?

You can, but the work does not shrink. The migration is the same whenever you do it, while the number of releases, plugin updates and platform changes you have to absorb at once grows each quarter. Flutter plans at least four stable releases in 2026.

Do existing CocoaPods dependencies stop working on 2 December?

No. The CocoaPods maintainers say existing builds keep working. What stops is new versions through trunk, so a CocoaPods-only dependency will not receive fixes there any more. That is a security and maintenance risk, not an immediate build failure.

Does the Android Intent change affect a normal app?

Usually not, if you use standard launches and deep links that match an intent filter. It matters if a native host, a notification or another app passes routes or entrypoints through Intent extras. Test those paths on a release build, because debug builds bypass the check.

Should a coding agent do the migration?

It can do much of the mechanical work well, especially fixing analyzer errors after dart fix. Keep platform configuration, localization changes and visual review with engineers, and run agents on a branch without access to signing keys or store accounts.

How long does the upgrade take?

It depends on the factors in the effort table above, mainly how far behind the app is, how the UI is structured, plugin health and test coverage. A one to three day inventory gives a reliable estimate; a number given before that is a guess.

Sources and methodology

Release facts, dates and migration steps come from the official Flutter, Dart, CocoaPods, Google and Android documentation listed below, checked on the access date. The upgrade plan, effort factors and agent guidance are the author’s professional practice, and durations are illustrative, not measured benchmarks. The roadmap items are statements of intent by the Flutter team, not guarantees.

  1. Flutter blog: What’s new in Flutter 3.50 (11 November 2026) — accessed 24 November 2026. Release date, Dart 3.14, formal deprecation of the coupled design libraries, flutter create defaults, Wasm on Safari and Firefox, Android toolchain defaults, AI coding plugins, Swift Package Manager opt-out winding down.
  2. Flutter docs: Migrate to standalone material_ui and cupertino_ui packages — accessed 24 November 2026. Timeline (frozen from 3.44, 1.0 in 3.47, deprecated in 3.50), migration command, import changes, localization traps, gen-l10n known issue, compatibility bridges.
  3. Flutter docs: Breaking changes and migration guides — accessed 24 November 2026. The seven breaking changes listed for Flutter 3.50.
  4. Flutter docs: Stricter Android Intent verification for app entrypoints — accessed 24 November 2026. Verification rules, release versus debug behaviour and migration options.
  5. Flutter docs: Restrict Android engine flags in release mode — accessed 24 November 2026. Engine flags ignored in release builds and the CLI change.
  6. Flutter roadmap on GitHub — accessed 24 November 2026. At least four stable releases in 2026, Impeller migration on Android, Wasm as the web default, design-system decoupling; roadmap described as aspirational.
  7. Flutter blog: Everything Flutter at Google I/O 2026 (28 May 2026) — accessed 24 November 2026. Swift Package Manager on by default for iOS and macOS, and the start of the design-library decoupling, in the 3.44 cycle.
  8. Flutter docs: Impeller rendering engine — accessed 24 November 2026. Impeller as the only renderer on iOS and the default on Android API 29+, with OpenGL fallback.
  9. Flutter docs: Get started developing with AI — accessed 24 November 2026. What the Dart and Flutter MCP server provides and how it is launched.
  10. Flutter blog: How Dart and Flutter are thinking about AI in 2026 (1 April 2026) — accessed 24 November 2026. 79% of Flutter developers using AI assistants, from the Flutter 2025 user survey.
  11. CocoaPods blog: CocoaPods Specs Repo (30 November 2024, updated 2025) — accessed 24 November 2026. Trunk read-only from 2 December 2026; existing builds keep working; no new versions through trunk.
  12. Google Ads developer blog: Prepare for CocoaPods read-only mode (November 2026) — accessed 24 November 2026. Confirmation of the 2 December 2026 date and Google’s advice to move iOS projects to Swift Package Manager.
  13. Android Developers: Meet Google Play’s target API level requirement — accessed 24 November 2026. API 36 required for new apps and updates from 31 August 2026, with extensions to 1 November 2026.

Planning your Flutter 3.50 upgrade?

We can review your Flutter app, plugins and release pipeline, size the material_ui, Swift Package Manager and Android changes, and plan an upgrade your team can ship with confidence.