Skip to content

"Add Dependency" doesn't handle flutter SDK checks properly for multiple packages #6028

Closed

Description

@DanTup

We now support multiple packages in a single "Add Dependency" call. You can write "foo bar" and install both packages together.

However the check for whether to use --sdk flutter is based on the input being a single package. It's not clear if pub add supports a mix of SDK/non-SDK packages, so we might need to make some changes here to use multiple commands.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in commandsRelates to commands (usually invoked from the command Palette)in flutterRelates to running Flutter appsis bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions