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: 4e3f83d37f83
Choose a base ref
...
head repository: flutter/packages
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fc22143c4490
Choose a head ref
  • 5 commits
  • 21 files changed
  • 5 contributors

Commits on Aug 6, 2026

  1. [cupertino_ui, material_ui] Fix bad doc references (#12381)

    Related to dart-lang/pub-dev#9510
    
    This fixes some bad doc references in material_ui and cupertino_ui 
    Explanations inline.
    
    ## Pre-Review Checklist
    
    **Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the `gemini-code-assist` bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.
    
    [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
    Piinks authored Aug 6, 2026
    Configuration menu
    Copy the full SHA
    17c97d0 View commit details
    Browse the repository at this point in the history
  2. [pigeon] add support for analyzer 13 and 14 (#12358)

    updates ast crawling to use new argument classes. supports major analyzer versions 13 and 14.
    
    fixes flutter/flutter#187145
    tarrinneal authored Aug 6, 2026
    Configuration menu
    Copy the full SHA
    df17293 View commit details
    Browse the repository at this point in the history
  3. [camera_web] Remove invalid @js annotation on extension type construc…

    …tors (#12384)
    
    Removes invalid `@JS()` annotations from extension type constructors in `packages/camera/camera_web`.
    
    Fixes flutter/flutter#190355
    
    ### Description
    In newer Dart SDKs (following Dart SDK commit dart-lang/sdk@cecd7ec rolled into Flutter in PR flutter/flutter#190158), placing `@JS()` annotations on extension type constructors has no effect and is now flagged as an error (`invalid_js_annotation`).
    
    Removing these annotations resolves the error without altering runtime behavior.
    mdebbar authored Aug 6, 2026
    Configuration menu
    Copy the full SHA
    142990b View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2026

  1. [camera_android_camerax][tool] Migrate complexity checks to package:c…

    …ognitive_complexity (#12356)
    
    When we initially added cyclomatic complexity [we wanted cognitive complexity](#11999). Now there is a mit licensed version that meets our dependency constraints maintained by a flutter contributor so let's migrate to that. 
    
    - @reidbaker 
    
    ---
    Agent authored pr description
    
    Migrates codebase complexity enforcement for `camera_android_camerax` from `dart_code_linter` (cyclomatic complexity) to `package:cognitive_complexity` (cognitive complexity), matching the migration in flutter/agent-plugins#211 and replacing #11999.
    
    ## Summary
    - Replaced `dart_code_linter` with `cognitive_complexity` under `pinned` allowed dependencies in `.repo_tool_config.yaml`.
    - Updated `AnalyzeCommand` in `script/tool/lib/src/analyze_command.dart` to execute `cognitive_complexity` with configured fail thresholds from `analysis_options.yaml` while filtering out generated Dart files (`.g.dart`, `.mocks.dart`, `.gen.dart`).
    - Replaced `dart_code_linter` with `cognitive_complexity: 0.2.1` in `packages/camera/camera_android_camerax/pubspec.yaml` and configured `fail-threshold: 15` in `analysis_options.yaml`.
    - Updated repository tooling unit tests in `script/tool/test/analyze_command_test.dart` to test `cognitive_complexity` and verify generated file exclusion.
    
    ## Pre-Review Checklist
    reidbaker-agent authored Aug 7, 2026
    Configuration menu
    Copy the full SHA
    f67f6a7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fc22143 View commit details
    Browse the repository at this point in the history
Loading