Navigator's page APIs breaking change
The `Navigator` page APIs are refactored so that they can integrate with Flutter's other pop mechanisms.
Choose two real stable releases. Boring Doc lists every indexed change between them with its evidence, impact and migration instructions, and can fetch the verified source diff from GitHub.
47 indexed changes across 6 versions: 3 breaking change, 1 deprecated api, 43 bug fix.
3 high-impact items. Start with: Navigator's page APIs breaking change; Generic types in PopScope; New APIs for Android plugins that render to a Surface.
Read the 4 official migration guides first, apply `dart fix` where available, then upgrade and run your test suite. Deprecations can be scheduled; removals cannot.
Prefer stepping through stable series sequentially; each breaking-change page has a checklist, before/after code and the official guide. Verify with `flutter analyze`, `flutter test` and a profile-mode run on each target platform.
Tick “Fetch verified source diff” above (or load it now) to corroborate these announcements with the git history between the two tags.
The `Navigator` page APIs are refactored so that they can integrate with Flutter's other pop mechanisms.
Added a generic type to the `PopScope` class and replaced the `onPopInvoked` with a new method `onPopInvokedWithResult`. The new method takes a boolean `didPop` and a `result` as position parameters.
The Android embedder for Flutter introduces a new API, `SurfaceProducer`, which allows plugins to render to a `Surface` without needing to manage what the backing implementation is. Plugins using the older `createSurfaceTexture` API will continue to work with Impeller after the _next_ stable release, but are recommended to migrate to the new API.
The `ButtonBar` widget was deprecated in favor of the more efficient `OverflowBar` widget. As a result, `ThemeData.buttonBarTheme` and `ButtonBarTheme` were also deprecated.
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.