Start Debugging

dart

142 posts · Page 5 of 15

Migrate custom page transitions after the Flutter page transition builders reorganization (Flutter 3.44 to 3.47)

Flutter moved PageTransitionsBuilder and two built-in builders into the widgets layer and CupertinoPageTransitionsBuilder out of Material. What actually breaks (one import, with a misleading 'Not a constant expression' error), what dart fix does and gets wrong for material_ui projects, and how to rewrite custom builders and routes so they no longer depend on Material at all.
2026-09-27 dartfluttervs-code

How to speed up a slow Dart analysis server in VS Code for a large Flutter monorepo

A monorepo with dozens of pubspec.yaml files makes the Dart analysis server build one analysis context per package, which is where the memory and the minute-long startup go. Convert to a pub workspace, exclude generated code in analysis_options.yaml, drop legacy analyzer plugins, and use the Insights page to prove it. Measured on Dart 3.12.2: 2.3x less peak memory and half the cold analysis time.
Prev Next