---
name: flutter-sdk-changelog
description: >-
  Authoritative guide for Flutter framework APIs, widget lifecycle deprecations, design package unbundling, and version changelogs from Flutter 1.0 through Flutter 3.x+. Use this skill whenever authoring Flutter widgets, inspecting flutter sdk constraints, handling deprecated widgets (WillPopScope, withOpacity, MaterialState, FlatButton), migrating to standalone design libraries (material_ui, cupertino_ui), verifying widget API availability against the project's Flutter minSdk, or upgrading legacy Flutter applications.
title: flutter-sdk-changelog
canonical_url: https://skilld.dev/gh/randalschwartz/dart-sdk-skills/flutter-sdk-changelog
last_updated: 2026-11-12T10:03:06.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [references/flutter-to-dart-version-matrix.md](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/flutter-to-dart-version-matrix.md), [references/material-2-to-material-3-guide.md](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/material-2-to-material-3-guide.md), [references/material-ui-and-cupertino-ui-migration.md](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/material-ui-and-cupertino-ui-migration.md), [references/rescuing-legacy-flutter-apps.md](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/rescuing-legacy-flutter-apps.md), [references/widget-deprecations-and-replacements.md](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/widget-deprecations-and-replacements.md).
>
> If the user asked to install this Skill, run `npx skilld install randalschwartz/dart-sdk-skills/flutter-sdk-changelog`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/flutter-sdk-changelog`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/randalschwartz/dart-sdk-skills/flutter-sdk-changelog) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/flutter-sdk-changelog`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/flutter-sdk-changelog --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/flutter-sdk-changelog --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# Flutter SDK Changelog & Widget Migration Guide (Flutter 1.0 to Modern Flutter)

This skill provides an authoritative, structured reference for Flutter framework releases, widget deprecations, API replacements, Material 3 design migrations, the decoupling of standalone `material_ui` and `cupertino_ui` packages, and legacy Flutter codebase rescue runbooks.

---

## 🎯 Fast Flutter Widget & API Replacement Matrix

| Deprecated / Obsolete API | Introduced / Deprecated In | Modern Replacement | Reference |
| :--- | :--- | :--- | :--- |
| **`Color.withOpacity(o)`** | Deprecated in Flutter 3.22 | `Color.withValues(alpha: o)` | [Widget Deprecations](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/widget-deprecations-and-replacements.md) |
| **`MaterialState` / `MaterialStateProperty`** | Deprecated in Flutter 3.22 | `WidgetState` / `WidgetStateProperty` | [Widget Deprecations](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/widget-deprecations-and-replacements.md) |
| **`WillPopScope`** | Deprecated in Flutter 3.12+ | `PopScope(canPop: ..., onPopInvokedWithResult: ...)` | [Widget Deprecations](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/widget-deprecations-and-replacements.md) |
| **`FlatButton`, `RaisedButton`, `OutlineButton`** | Deprecated in Flutter 2.0 | `TextButton`, `ElevatedButton`, `OutlinedButton` | [Widget Deprecations](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/widget-deprecations-and-replacements.md) |
| **`TextTheme.headline1...6`, `bodyText1/2`** | Deprecated in Flutter 3.7+ | `displayLarge...small`, `bodyLarge/Medium` | [Widget Deprecations](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/widget-deprecations-and-replacements.md) |
| **`ThemeData.accentColor`** | Deprecated in Flutter 2.5+ | `ColorScheme.secondary` | [Widget Deprecations](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/widget-deprecations-and-replacements.md) |
| **`Scaffold.of(context).showSnackBar()`** | Deprecated in Flutter 2.0 | `ScaffoldMessenger.of(context).showSnackBar()` | [Widget Deprecations](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/widget-deprecations-and-replacements.md) |
| **`package:flutter/material.dart`** | Deprecated in Flutter 3.50 (Introduced 3.44) | `package:material_ui/material_ui.dart` | [Material & Cupertino Migration](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/material-ui-and-cupertino-ui-migration.md) |
| **`package:flutter/cupertino.dart`** | Deprecated in Flutter 3.50 (Introduced 3.44) | `package:cupertino_ui/cupertino_ui.dart` | [Material & Cupertino Migration](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/material-ui-and-cupertino-ui-migration.md) |
| **`DropdownButtonFormField(onChanged: cond ? fn : null)`** | Updated in Flutter 3.50 (`material_ui` 1.8.0) | `DropdownButtonFormField(enabled: cond, onChanged: fn)` | [Widget Deprecations](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/widget-deprecations-and-replacements.md) |
| **`TextStyle.getParagraphStyle()` (without `hyphens`)** | Updated in Flutter 3.50 | Add `Hyphens? hyphens` parameter (`Hyphens.manual` / `Hyphens.hidden`) | [Widget Deprecations](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/widget-deprecations-and-replacements.md) |
| **`BottomNavigationBar`** | Legacy M2 Navigation | `NavigationBar` (Material 3) | [Material 3 Guide](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/material-2-to-material-3-guide.md) |
| **`ToggleButtons`** | Legacy M2 Toggle | `SegmentedButton<T>` (Material 3) | [Material 3 Guide](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/material-2-to-material-3-guide.md) |
| **`describeEnum(e)`** | Removed in Flutter 3.47 | `e.name` (Dart 2.15+ native property) | [Widget Deprecations](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/widget-deprecations-and-replacements.md) |
| **`ContextMenuButtonType` / `item.type`** | Superseded in Flutter 3.47.9 | `ContextMenuButtonKind` / `item.kind` (with `_` case) | [Widget Deprecations](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/widget-deprecations-and-replacements.md) |
| **`ReorderableListView.onReorder`** | Deprecated in Flutter 3.44 | `onReorderWithOldAndNewIndex` | [Widget Deprecations](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/widget-deprecations-and-replacements.md) |
| **`PopupMenuButton`** | Legacy popup menu | `MenuAnchor` / `SubmenuButton` | [Material 3 Guide](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/material-2-to-material-3-guide.md) |

---

## ⚡ Subskill Spotlights

### Subskill: Standalone `material_ui` & `cupertino_ui` Package Migration
- **Decoupled Architecture**: Transition from monolithic framework design libraries to standalone pub packages with independent release cadences.
- **Automated Fix**: Run `dart fix --apply --code=migrate_design_widgets` to update imports and dependencies automatically.
- **Headless Core Support**: Construct purely custom design systems directly against `package:flutter/widgets.dart`.
👉 *Read the full [Material & Cupertino UI Migration Guide](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/material-ui-and-cupertino-ui-migration.md).*

### Subskill: Widget Deprecations & Modernization
- **Predictive Back Navigation**: Replace `WillPopScope` with `PopScope` for zero-stutter predictive back gestures on Android 14+ and iOS.
- **Wide-Gamut Colors**: Replace `withOpacity` with `withValues(alpha: ...)` to eliminate 8-bit precision loss and color clipping.
- **Unified State Management**: Replace `MaterialState` with universal `WidgetState`.
👉 *Read the full [Widget Deprecations & Replacements Guide](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/widget-deprecations-and-replacements.md).*

### Subskill: Material 2 to Material 3 Migration
- **Seed-Based Theming**: Generate tonal palettes with `ColorScheme.fromSeed(seedColor: ...)`.
- **Component Modernization**: Migrate from `BottomNavigationBar` to `NavigationBar`, `ToggleButtons` to `SegmentedButton`, and M2 buttons to `FilledButton`.
👉 *Read the full [Material 2 to Material 3 Guide](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/material-2-to-material-3-guide.md).*

### Subskill: Rescuing Legacy Flutter Apps (Flutter 1.x / 2.x to Modern 3.x)
- **5-Phase Upgrade Pipeline**: Baseline toolchain check &rarr; null safety bridge &rarr; widget deprecation fixes &rarr; Material 3 update &rarr; modern state & routing.
👉 *Read the full [Legacy Flutter App Rescue Runbook](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/rescuing-legacy-flutter-apps.md).*

---

## 📚 Table of Contents & Reference Archive

| Document | Focus Area | Description |
| :--- | :--- | :--- |
| [`material-ui-and-cupertino-ui-migration.md`](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/material-ui-and-cupertino-ui-migration.md) | Package Decoupling | Complete runbook for migrating from SDK-bundled material/cupertino to standalone `material_ui` and `cupertino_ui`. |
| [`flutter-to-dart-version-matrix.md`](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/flutter-to-dart-version-matrix.md) | Version Mapping | Full mapping of Flutter 1.0–3.50+ to bundled Dart SDKs and engine milestones. |
| [`widget-deprecations-and-replacements.md`](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/widget-deprecations-and-replacements.md) | Widget Dictionary | Before/After code snippets for all deprecated Flutter widgets and properties. |
| [`material-2-to-material-3-guide.md`](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/material-2-to-material-3-guide.md) | UI & Theming | Comprehensive Material 3 migration guide, dynamic color schemes, and new components. |
| [`rescuing-legacy-flutter-apps.md`](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/rescuing-legacy-flutter-apps.md) | Upgrade Runbook | 5-phase structured runbook for stepping legacy Flutter apps to modern Flutter. |

---

## 🛠️ Recommended Runbooks

### 1. Migrating to Standalone `material_ui` & `cupertino_ui`
1. Execute `dart fix --apply --code=migrate_design_widgets` to rewrite imports.
2. Confirm `pubspec.yaml` dependencies include `material_ui` and `cupertino_ui`.
3. Consult the [Material & Cupertino UI Migration Guide](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/material-ui-and-cupertino-ui-migration.md) for localization updates and headless architectures.

### 2. Migrating Deprecated Widgets & Properties
1. Identify the deprecated widget or property (for example `WillPopScope`, `Color.withOpacity`, `MaterialStateProperty`).
2. Consult the [Widget Deprecations Guide](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/widget-deprecations-and-replacements.md).
3. Replace with the modern declarative equivalent (for example `PopScope`, `Color.withValues(alpha: ...)`, `WidgetStateProperty`).

### 3. Migrating to Material 3
1. Review the [Material 2 to Material 3 Guide](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/material-2-to-material-3-guide.md).
2. Configure `ThemeData` using `ColorScheme.fromSeed(seedColor: ...)`.
3. Replace legacy navigation bars (`BottomNavigationBar` &rarr; `NavigationBar`) and controls (`ToggleButtons` &rarr; `SegmentedButton`).

### 4. Upgrading / Rescuing Legacy Flutter Apps
1. Determine current Flutter and Dart versions from `pubspec.yaml` environment block.
2. Follow the 5-phase pipeline in the [Legacy Flutter App Rescue Runbook](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/rescuing-legacy-flutter-apps.md):
   - Check toolchain &rarr; Sound Null Safety bridge &rarr; Widget deprecations &rarr; Material 3 theme &rarr; Modern routing & reactive state.

### 5. Answering "What's New in Flutter X.Y"
1. Match the Flutter version in the [Flutter to Dart Version Matrix](https://skilld.dev/api/skills-raw/randalschwartz/dart-sdk-skills/flutter-sdk-changelog/references/flutter-to-dart-version-matrix.md).
2. State the bundled Dart SDK version, major framework milestones, and engine updates.

