Skip to content

Use a dynamic Flutter version in the package and plugin templates #122739

@stuartmorgan-g

Description

@stuartmorgan-g

Currently the Dart version we put in template-created packages and plugins is dartSdkVersionBounds, a dynamic version pulled from the current SDK version. The Flutter SDK, however, is hard-coded (currently to 2.5 in plugins and 1.17 in packages), which is really confusing; in practice the Dart SDK will constrain it to a much higher version. We should use the current version for both constraints, not just one of them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: pluginsSupport for writing, building, and running plugin packagesteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.tool-still-validIssues that have been deemed still valid as part of the Flutter Tools issue cleanup initiative.triaged-toolTriaged by Flutter Tool team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions