Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: flutter/packages
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e019cf9
Choose a base ref
...
head repository: flutter/packages
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cc3dca6
Choose a head ref
  • 1 commit
  • 1,010 files changed
  • 1 contributor

Commits on Nov 24, 2025

  1. [all] Omit obvious local types (#10511)

    Makes the analysis options changes described in
    flutter/flutter#178827:
    - Adding
    [omit_obvious_local_variable_types](https://dart.dev/tools/linter-rules/omit_obvious_local_variable_types)
    - Adding
    [specify_nonobvious_local_variable_types](https://dart.dev/tools/linter-rules/specify_nonobvious_local_variable_types)
    - Adding
    [specify_nonobvious_property_types](https://dart.dev/tools/linter-rules/specify_nonobvious_property_types)
    - Adding
    [type_annotate_public_apis](https://dart.dev/tools/linter-rules/type_annotate_public_apis)
    - Removing
    [always_specify_types](https://dart.dev/tools/linter-rules/always_specify_types)
    
    After those changes, makes the following repo-wide changes:
    - `dart fix --apply` in all packages and in script/tool/
    - `dart format` in all packages and in script/tool/
    - `update-excerpts` repo tooling command to update excerpts based on the
    changes to their sources
    
    Also updates the min Flutter/Dart SDK version to 3.35/3.9 for the
    following packages, to avoid `analyze` failures in the `N-2` legacy
    analysis run due to what appears to be a 3.9 change in what the Dart
    analyzer continues to be an obvious local type in loop iterations:
    - go_router
    - google_fonts
    - google_identity_services_web
    - google_maps_flutter_web
    - local_auth_platform_interface
    - metrics_center
    - multicast_dns
    - pigeon
    - rfw
    - shared_preferences
    - two_dimensional_scrollables
    - vector_graphics_compiler
    - mustache_template
    - path_parsing
    
    Because this is causing a significant amount of format churn already, I
    took this opportunity to update the repository tooling to a min Dart SDK
    of 3.8 (the N-2 stable version, so the earliest version we need the
    tooling to support) to pick up the new format style, so the amount of
    automated formatter change is higher in script/tool/ than in the
    packages.
    
    This does contain two manual changes (other than the repo tooling min
    version):
    -
    d700b45
    changes `dynamic` to `Object?` in a few places where `dynamic` caused
    analyzer warnings under the new rule set.
    - Updates the repo tooling to ignore `.dart_tool/` when looking for
    unexpected local `analysis_options.yaml` files, to fix issues running
    the repo tool's `analyze` command locally based on recent changes in
    `dart` behavior.
    
    This does not include any CHANGELOG or version updates; even though we
    normally version any changes to production code, mass automated changes
    like this aren't worth the churn of releasing. This includes changes to
    lib/example/main.dart and to README.md excerpts; while the style changes
    will be user-visible on pub.dev, it's fine for those changes to wait for
    the next release of each package.
    
    Part of flutter/flutter#178827
    stuartmorgan-g authored Nov 24, 2025
    Configuration menu
    Copy the full SHA
    cc3dca6 View commit details
    Browse the repository at this point in the history
Loading