Skip to content
Boring Doc
RemovedHigh impactOfficial migration guidesince 2.0.0

Deprecated API removed after v1.22

Framework · Official source

In accordance with Flutter's Deprecation Policy, deprecated APIs that reached end of life after the 1.22 stable release have been removed. This is the first time that deprecated APIs have been removed from Flutter, and some of these deprecations predate our migration guide policy.

Who is affected
Any code still referencing the removed API will fail to compile after upgrading. Code that uses CupertinoDialog, CupertinoAlertDialog, CupertinoPopupSurface and related APIs.
Practical impact
Compile errors until migrated; must be addressed before upgrading.
What action should I take?
Review the linked source, update affected code and run your test suite before upgrading.

Before and after (from the official guide)

dart+1−1
Before
1−CupertinoDialog(child: myWidget);
After
1+CupertinoAlertDialog(content: myWidget);
Raw before / after
CupertinoDialog(child: myWidget);
CupertinoAlertDialog(content: myWidget);
Migration assistantAI-generated · grounded in cited sources
AI explanations are not configured
Set AI_PROVIDER (for example to openai-compatible with a local Ollama or LM Studio endpoint) to enable grounded explanations. Everything else on this page works without an AI provider.
Official migration guide·Verified classification (90%)

Listed in the official breaking-changes index; title states removal.

An official announcement or migration guide documents an intended behaviour or API change. A verified source change (git diff) shows code changed but does not by itself prove a public API is breaking. AI interpretations are labelled and never used to classify a change.

Source commit
b3045439b7c0
Source last updated
Oct 21, 2026
Last synchronized
Oct 21, 2026
Publication status
published
Publication history
  • Oct 21, 2026, 8:31 PM: new → published (ingestion) — Backed by an official breaking-change/migration guide.
AI explanationAI-generated · grounded in cited sources
AI explanations are not configured
Set AI_PROVIDER (for example to openai-compatible with a local Ollama or LM Studio endpoint) to enable grounded explanations. Everything else on this page works without an AI provider.
Was this useful?
Deprecated API removed after v1.22 · Boring Doc