Skip to content

flutter version problem #119

Open
Open
@hancens1024

Description

@hancens1024

/Users/hancens/fvm/default/bin/flutter --no-color pub get
Resolving dependencies...
Note: material_color_utilities is pinned to version 0.5.0 by flutter_test from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.

Because every version of flutter_test from sdk depends on material_color_utilities 0.5.0 and mobile depends on material_color_utilities 0.8.0, flutter_test from sdk is forbidden.
So, because mobile depends on flutter_test from sdk, version solving failed.

You can try the following suggestion to make the pubspec resolve:

  • Consider downgrading your constraint on material_color_utilities: flutter pub add material_color_utilities:^0.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    quick(Label used internally)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions