Skip to content
Boring Doc
Stable release

What's new in Flutter 3.22

35 verified changes from the official breaking-change guides, release notes and hotfix changelog for the 3.22 series (latest patch 3.22.3, Jul 18, 2024).

  1. 3.22.0
    May 13, 2024
    6 changes
  2. 3.22.1
    May 22, 2024
    3 changes
  3. 3.22.2
    Jun 6, 2024
    13 changes
  4. 3.22.3
    Jul 18, 2024
    13 changes

Sources: release notes 3.22.0, breaking changes, CHANGELOG.md

BreakingHigh impact3.22.0 migration guide

Rename MaterialState to WidgetState

`MaterialState`, and its related APIs, have been moved out of the Material library and renamed to `WidgetState`.

Official migration guideVerified classificationFrameworkSource Details
BreakingHigh impact3.22.0 migration guide

Introduce new ColorScheme roles

New color roles in `ColorScheme` include seven tone-based surfaces and containers, and twelve accent colors for primary, secondary, and tertiary groups. This update deprecates three existing color roles: `background`, `onBackground`, and `surfaceVariant`. The `ColorScheme` constructed by the updated `ColorScheme.fromSeed` method now generates different values compared to the previous version, adapting to the Material Design 3 guidelines.

Official migration guideVerified classificationFrameworkSource Details
BreakingHigh impact3.22.0 migration guide

Nullable PageView.controller

If a controller isn't provided in the constructor, the `controller` member is `null`. This makes `PageView` and its `controller` property consistent with other widgets.

Official migration guideVerified classificationFrameworkSource Details
BreakingHigh impact3.22.0 migration guide

Rename MemoryAllocations to FlutterMemoryAllocations

Disposables in pure Dart projects can't use `MemoryAllocations` in Flutter. So, to be leak-trackable they need a Dart-only class. `MemoryAllocations` in Flutter is renamed to make the name available to a non-Flutter, Dart project.

Official migration guideVerified classificationFrameworkSource Details

Removed

Removed
RemovedHigh impact3.22.0

Deprecated API removed after v3.19

In accordance with Flutter's Deprecation Policy, deprecated APIs that reached end of life after the 3.19 stable release have been removed.

Official migration guideVerified classificationFrameworkSource Details
RemovedHigh impact3.22.0android migration guide

Dropping support for Android KitKat

Flutter's minimum supported Android version is now Lollipop (API 21). Beginning with Flutter's 3.22 stable release, Flutter will no longer work on devices running Android KitKat (API 19).

Official migration guideVerified classificationFrameworkSource Details

Bug fix

Bug fix

See all 29 bug fix items