Skip to content

Environment is missing from the pubspec.yaml file #226

Closed
@davidtoltesy

Description

@davidtoltesy

With the latest version of Flutter, you won't be able to run this project because it is outdated. It will stop with an error message. (During the 30 Days of Flutter event, probably a lot of people tried to complete the Codespace tutorial, so this should be fixed. Thanks!)

To solve this problem, add this to the pubspec.yaml file:

environment: sdk: '>=2.10.0 <3.0.0'

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