Skip to content

Flutter plugins library is not updated correctly since flutter 3.3 #6330

Closed
@wagner1343

Description

@wagner1343

Flutter plugins library is not updated correctly since flutter 3.3.

The .packages file used to track flutter plugin paths has been discontinued in favor of .dart_tool/package_config.json since Dart 2.18 (see [breaking change] discontinue .packages file #48272
Since Flutter 3.3 uses Dart 2.18 (see Flutter Vikings Edition: 3.3 release), flutter plugins library is not being updated correctly.

Steps to Reproduce

  • Create a new project with flutter 3.3+
  • Flutter plugins library won't be updated correctly

Version info

[√] Flutter (Channel stable, 3.3.2, on Microsoft Windows [Version 10.0.19044.2006], locale en-US)
    • Flutter version 3.3.2 on channel stable at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision e3c29ec00c (2 weeks ago), 2022-09-14 08:46:55 -0500
    • Engine revision a4ff2c53d8
    • Dart version 2.18.1
    • DevTools version 2.15.0

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at C:\Users\wagne\AppData\Local\Android\sdk
    • Platform android-33, build-tools 33.0.0
    • ANDROID_HOME = C:\Users\wagne\AppData\Local\Android\sdk
    • Java binary at: C:\Users\wagne\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\213.7172.25.2113.9014738\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[X] Visual Studio - develop for Windows
    X Visual Studio not installed; this is necessary for Windows development.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[√] Android Studio (version 2021.3)
    • Android Studio at C:\Users\wagne\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\213.7172.25.2113.9014738
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[√] IntelliJ IDEA Ultimate Edition (version 2022.2)
    • IntelliJ at C:\Users\wagne\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29
    • Flutter plugin version 70.0.5
    • Dart plugin version 222.4167.21

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19044.2006]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 105.0.5195.128
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 105.0.1343.50

[√] HTTP Host Availability
    • All required HTTP hosts are available

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions